TechSpot

subsetting a drive in Dos

By toffeapple
Aug 11, 2005
  1. 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
     
  2. RealBlackStuff

    RealBlackStuff TS Rookie Posts: 6,503

    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.
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...