Tip: Map Drive Letter To Local Folder With SUBST
With the increase of disk space we tend to store more files on the hard drives. Managing these files is done using folders, sub folders and more nested folders. Accessing these nested folders is an irritating task, especially if you have a multi level nested folder that you access frequently.
Other ways to reduce the clutter is to partition the drives to a more manageable size. But this is not always possible. So what to you do when you need to access a nested folder frequently? Well here is a nice little trick that exists from the old DOS days, but was forgotten.
You can easily map a local folder to a virtual drive letter, thus by “switching? drives you are simply redirected to that folder.
In order to map a local folder to a drive letter follow these steps:
- Go To Start->Run, type Cmd and press Enter.
- Now type the following command in the command prompt: subst drive: path_to_folder and Enter.
For example lets say we want to map the My Documents folder to drive letter M: so we type: subst M: C:\”Documents and Settings\YourUserName\My Documents”
Now every time you’ll enter M: you will be redirected to the My Documents folder. Also this new virtual drive will show in Windows File Explorer.
To delete a mapping you simply type SUBST drive1: /D – so in our example, if we want to delete the mapping of M: to My Documents we simply type SUBST M: /D.
Typing SUBST without any parameters will display all the mappings.





(3 votes)
Feeds 
