News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Creating logical drives on the fly

Started by charleychacko, October 15, 2006, 10:49:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charleychacko

If you have very deep directories (directories with many sub directories inside sub directories), you may find it easier to create a logical drive that points to the directory you want to work in. On the other hand, you may want to simply create aliases to existing drives for those programs looking for a particular drive. Whichever the reason you want to create a logical drive, you can do so using the SUBST command.
For example, to create an alias called D for your C drive, run following command from the "Command Prompt" (or the "DOS Prompt"):

SUBST D: C:\

To create a logical drive called E, that points to your C:\WORK directory:

SUBST E: C:\WORK

To delete the aliases or logical drives that you create using SUBST command, run SUBST with the drive name to delete and the parameter "/D"

SUBST D: /D

SUBST E: /D