B Bob Jul 23, 2003 #1 I want to create a batch file so that users can easily connect to a specific shared drive on the network. Any offers???
I want to create a batch file so that users can easily connect to a specific shared drive on the network. Any offers???
R Ritchie Jul 23, 2003 #2 Bob said: I want to create a batch file so that users can easily connect to a specific shared drive on the network. Any offers??? Click to expand... http://groups.google.com/groups?q=cmdprompt.admin+"net+use"+map+network+drive
Bob said: I want to create a batch file so that users can easily connect to a specific shared drive on the network. Any offers??? Click to expand... http://groups.google.com/groups?q=cmdprompt.admin+"net+use"+map+network+drive
H Herb Martin Jul 23, 2003 #3 set domain=SpecificServerOrUsersDomain net use * \\SpecificServer\SpecificShare * /user:%domain%\%username% If you know the user is already authenticated, just omit the second "*" and everthing following. net use * \\SpecificServer\SpecificShare If you wish to "pick" the drive letter, then substitute that for the first "*". net use s: /d 2>nul net use s: \\SpecificServer\SpecificShare
set domain=SpecificServerOrUsersDomain net use * \\SpecificServer\SpecificShare * /user:%domain%\%username% If you know the user is already authenticated, just omit the second "*" and everthing following. net use * \\SpecificServer\SpecificShare If you wish to "pick" the drive letter, then substitute that for the first "*". net use s: /d 2>nul net use s: \\SpecificServer\SpecificShare