Script help.

ZoomerZoomer Member Posts: 126
Here's the script:

net use m: /del
net use m: \\Tco_sql01\Compa\Names\John Doe\Exchange\Record /USER:core_process\user password

I want it to automatically map the network drive when the computer starts up. Now because of the space in "John Doe" the script fails. It works up to "Names" folder, but not after. I can't edit the folder name because some of the programmers refer to it in their code and it would mess everything up. I would try to use the shorthand version, but there's not enough characters (6 I think?) before the space to identify it. Can anyone help?

Comments

Sign In or Register to comment.