I have a directory on another drive that I want to show as a new virtual drive. How can I do that?

link|improve this question

47% accept rate
feedback

1 Answer

up vote 7 down vote accepted

Use the subst command:

subst X: F:\some\folder

There is also a great freeware utility called Visual Subst to make things even easier:

alt text

link|improve this answer
yes I tried this before, but it doesnt auto-mount the dir on boot. – user11955 Feb 16 '10 at 4:20
3  
At the bottom of the application there is a checkbox Apply virtual drives on Windows startup if that's what you're after. You could also use a batch script with subst commands and place it in your startup folder. – John T Feb 16 '10 at 4:24
1  
I realize that the option is there, it just doesn't work. probably because I have a space in the folder name (that I cant remove) – user11955 Feb 16 '10 at 4:30
2  
Possibly. There is also the startup folder in your start menu you can use. Make a batch script with subst commands in it and quote the paths with spaces. An example of 1 line would be subst X: "C:\Program Files" – John T Feb 16 '10 at 4:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.