Write a batch file to map network drives etown

Created on June 6, Manual command for batch file to map network drive?

Write a batch file to map network drives etown

Using Windows Explorer, you can easily map the drive to the share on a remote computer when needed. But what if you need to map multiple drives at once, or you want to always map the drive when you logon to your computer?

June ConfChem Discussion Archive | DivCHED CCCE: Committee on Computers in Chemical Education

The best solution is to create a batch file that you can click on, when you need to map the drives, or copy it to your Windows user account Startup folder so the drives are mapped automatically during logon.

To map drives using a batch file, we'll need to use the net use command.

Jul 16,  · need a batch file or script that will allow me to map a network drive with. a differnt user name and password at statup. i know a VBS script will do this but i am unable to place this script on one domain controler. I having server folder as a mapped network drive in workstation. Now the that folder is shifting to to another server so Ineed to change the path this activity I need to do at . In an Active Directory environment, you can do this but sometimes it doesn't work out quite the way you expected it to, especially with Windows XP. That's why sometimes it's jsut easier to setup a batch file to quickly and easily setup a mapped network drive for any users of a particular workstation.

At it's simplest form, the command looks like this: Using the commands above to map drives, assumes that the account you are logged on as, exists on the remote computer where the shared folder is located, or if you are at work, is part of a Windows Domain. If you need to authenticate when mapping the drive, we'll need to use an account that exists on the remote computer or in a Windows Domain, and add it onto the net use command as shown below: First, open up Notepad or your favorite text editor.

What Next?

Next, copy the commands as shown below and paste them into the file. Don't forget to modify the net use command with the drive letter you want to use, the name of the Computer and share you want to map a drive to, and password and account name if needed.

When you need to map the drive sjust double click on it.

write a batch file to map network drives etown

A Word About Security Now, realize when using the net use command and hard coding passwords, make sure you understand that you are at risk if anyone gains access to the batch file.

You don't want to create the batch file at work and save it to a File Server. Use common sense, and don't be careless.Jul 16,  · need a batch file or script that will allow me to map a network drive with.

When you need to map the drive(s), just double click on it. A Word About Security. Now, realize when using the net use command and hard coding passwords, make sure you understand that you are at risk if anyone gains access to the batch file. You don't want to create the batch file at work and save it to a File . Jul 16,  · need a batch file or script that will allow me to map a network drive with. a differnt user name and password at statup. i know a VBS script will do this but i am unable to place this script on one domain controler. In an Active Directory environment, you can do this but sometimes it doesn't work out quite the way you expected it to, especially with Windows XP. That's why sometimes it's jsut easier to setup a batch file to quickly and easily setup a mapped network drive for any users of a particular workstation.

a differnt user name and password at statup. i know a VBS script will do this but i am unable to place this script on one domain controler. I having server folder as a mapped network drive in workstation. Now the that folder is shifting to to another server so Ineed to change the path this activity I need to do at .

Often it is asked how to create a batch file to map network drives for users at logon.

Question Info

Here’s how I did it at one site where I had a small number of users, but each user had a different set of mapped drives they needed to access. Sep 01,  · I need to write a batch file to use for different users which will create a mapped network drive to a file server but when it runs it should ask me for a username and password so that the user only has access to the folders that they have permission to open.

When you need to map the drive(s), just double click on it. A Word About Security.

™ "Map network drives" Keyword Found Websites Listing | Keyword Suggestions

Now, realize when using the net use command and hard coding passwords, make sure you understand that you are at risk if anyone gains access to the batch file. You don't want to create the batch file at work and save it to a File .

Nov 14,  · Back in the Netware days I used to write batch files to map drives all the time, but the map command doesn't seem to be available on Windows 7 64 bit Ultimate (which is the new system I .

Profile by Shelby County Newspapers, Inc. - Issuu