OK, here's my problem.
I can perfectly type this in the command line:
NET USE Y: \\SERVER\FOLDER /USER
omain\Testaccount pass word
But when putting it in a *.bat file the and running the bat file,
The space btw the pass word does not work.
I tried the common stuff like putting it in "pass word" and used Ascii code to input the space.
Any one have an idea?
Thanks
I Solved it, apparently DOS used a similar command in SQL by using the: %%
I can perfectly type this in the command line:
NET USE Y: \\SERVER\FOLDER /USER
But when putting it in a *.bat file the and running the bat file,
The space btw the pass word does not work.
I tried the common stuff like putting it in "pass word" and used Ascii code to input the space.
Any one have an idea?
Thanks
I Solved it, apparently DOS used a similar command in SQL by using the: %%