Feb 04, 2008
Using network drives in a batch file Oct 28, 2005 Batch file to map a network drive not working | [H]ard|Forum Jul 26, 2006 How Can I Map Drives Based on Membership in a Group
Make life easier on your end users by dropping a batch file on their desktop that dials the VPN, maps the appropriate drives and then pops them open in windows explorer. is the name of your saved VPN connection <\\server\share> is the location of the drive you want to map is the drive letter you want to connect to.
This .vbs code creates a .bat file with the current mapped network drives. Then, just put the created file into the machine which you want to re-create the mappings and double-click it. It will try to create all mappings using the same drive letters (errors can occur if any letter is in use).
Map a network drive - support.microsoft.com
Batch file to connect VPN, map and open mapped drive - IT(jon) Make life easier on your end users by dropping a batch file on their desktop that dials the VPN, maps the appropriate drives and then pops them open in windows explorer.