batch file that will map a drive

September 15, 2011 at 15:55:43
Specs: Windows xp
How to create a batch file that will check if network drive is mapped and if it's not it will map again?

See More: batch file that will map a drive

Report •

#1
September 16, 2011 at 08:22:15
check out these two places and see if it is what you are looking for

">http://www.techrepublic.com

http://msmvps.com


Report •

#2
September 16, 2011 at 08:56:42
Alternatively:
net use s: \\server\share 2>nul

You'll have to fill out the relevant bits, obviously.

How To Ask Questions The Smart Way


Report •

#3
September 16, 2011 at 09:50:48
@echo off

:mapx
net use x: \\servername\sharepath

if not exist x:\*.* goto mapx

exit


Report •
Related Solutions


Ask Question