Want to know how to set up this Batch File:
:: DC Login script
@ECHO OFF
:: Delete existing connections
net use c: /delete
net use d: /delete
HALT
:: Map drives
net use c: \\Scanner_Svr\Test1
net use d: \\Test1
EXIT
I want a workstation to map drives to a server (it’s C and D drives), at each boot. Obviously, I want to close the connections, at close-down of the workstation.
Have I got the syntax correct? I have the .bat file at the root of C: on the workstation – isthis correct? What do I have to put on the server?
Any asistance would be appreciated….