subsetting a drive in Dos

Status
Not open for further replies.

toffeapple

Posts: 149   +0
I have subsetted a drive using my loggon script and everything is working fine, it is copying down the nessecary files to the virtual drive.
the problem lies when i go of line the subsetted drive doesnt stay mapped
I know when im not on the network my loggon script wont run but i thought the drive would stay mapped.

heres the script i am running

subst v: /d
subst v: C:\eye
del v:\*.* /q

copy m:\eyev\*.ipv v: /y

is there any commands i can run in the script that will leave the drive mapped when i restart the Laptop off line

any tips greatly appreciated
 
Rebooting your PC will clear the SUBST command and put your drives back to original letters (unless the subst command is placed into the autoexec.bat).

You cannot subst network drives.
 
Status
Not open for further replies.
Back