|
Answer» Hey all
In a login SCRIPT BATCH file I need to check whether a drive exists, so that I can decide whether to map a NETWORK drive on that PC.
I have tried using "if exist" but this only checks for files or directories, but not drives. Is there anyway to DETECT whether a drive has been mapped?
This is for Win9x by the way, as I have already got a workaround for WinNT.
Thanks in advance
andyoftheukhi amigo (friend),
refer this link:
http://home7.inet.tele.dk/batfiles/
see (43) question, "check if a drive is VALID"...... here valid refers to a mapped drive.
|