Creating a Batch file to map F & G Drives

On the workstation, create a batch file C:\MapDrives.bat

Edit the file so it reads as:

NET USE G: \\%computername%\Public
NET USE F: \\%computername%\Whole

If you are accessing a specific server, change the %computername% for the name of the computer that hosts the data.

Create a shortcut to C:\MapDrives.bat and cut and paste it into the Startup folder for All Users.  Run the batch file and ensure the correct drives are mapped in explorer.



Reviewed on 17/02/2015

How useful was this article?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

Similar Posts