Discussion Locked

Batch File - Login Script

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to create a batch file/login script to force the mapping of two network drives. How do I phrase the items to do this? I know you go into Notepad to create it and save it as a .bat file. I just am not certain on how to phrase it so that it will work! Thank you!

4 replies

by quintar51

You should use the net use command. If you go to start, run, type cmd, click OK. This will open up a command prompt. Type net use /?
This will show you all available options and the syntax for this command.

Then in notepad, type net use t:\ \\servername\share

you can use it with different options.

by quintar51

I used the letter T for the drive just as an example. You can use any letter that's not assigned to another drive.

This discussion is closed to new replies.