Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PERSISTANT VIRTUAL DRIVE

Status
Not open for further replies.

kposey

Programmer
Mar 23, 2001
14
US
I have a small peer to peer network of 5 computers. all of them are win2k pro. i want to create a virtual drive on a few of the computers so that the music stored on each computer is easier to access. Ive tried using SUBST(in dos). which works, but as soon as i try and reboot, it goes away. is there a way i can include it in my autoexec.bat file or somewhere else so that it makes the virtual drive persistant??

*for those who dont know...SUBST associates a virtual drive letter with an actual path.
C:\>SUBST M: C:\Music
this means that you will create a virtual drive 'M:' which will act as a shortcut to the dir 'C:\Music'.
 
Just put that command line in your autoexec.bat and it should give you what you want.
 
why not map the drive, and check "reconnect at logon"?

Just right-click on the network neighborhood icon, select "map network drive", and enter the path to the folder ie.
\\computername\sharename

Check the "reconnect at logon" box, and you'll be all set. Please let Tek-Tips members know their posts were helpful. Thanks!

Pbxman
Systems Administrator
A+, MCSE+I
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top