I am makeing a simple batch file to auto mount some files for a lab i work at. The students have a hard time finding there files. This is what i got so fare.
I set this
set classname=Drafting 51a 180
so i can just edit one part for each class then did this
net use * \\Mfgcadserv\student files\templets\%classname%
but i get this error
The syntax of this command is:
NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
any help would be great.
Thanks,
Andy