Huge time saver: Alias a directory as a drive letter

Using a quick command, you can alias a directory in MSWindows to a drive letter. This is extremely handy when you access a nested directory often, as web developers are prone to do.

the command to do this is simply:

SUBST [DriveLetter]: [FullDirectoryPath]

Example: SUBST z: C:\httpd\Apache2\htdocs

Now, when I need to get to my htdocs folder, I simply hit WindowsKey+R then z: + enter. MUCH nicer than clicking through the paths and waiting an interminable amount of time for each directory to load...

I found this on LifeHacker. If you haven't looked at LifeHacker before, you should. I have their RSS feed as a libe bookmark in Firefox so I can quickly scroll through their entries without having to visit the site.

Comments
if you need the substiution to persist between reboots, put the commands in a batch file (*.bat) then create a shortcut in your start up folder on the menu and they will 'reconnect' upon rebooting your machine
# Posted By dc | 6/13/07 1:22 PM
Someone recently blogged about Visual Subst:
http://www.ntwind.com/software/utilities/visual-su...

I haven't tried it, but the nice thing about the application is it will automatically restore the links after a reboot.

I've been meaning to load it up on my laptop to shorten the path to those buried default CFMX wwwroot folders.
# Posted By Dan G. Switzer, II | 6/13/07 2:51 PM
I'm sorry, don't you mean you have their RSS feed in Google Reader?
I mean the post is about huge time savers...
# Posted By Chris Phillips | 6/13/07 3:20 PM
I created a little script generator for this purpose. You can find it here:

http://nodans.com/tools/substitute.cfm

There is also a little post announcing this:

http://www.nodans.com/index.cfm/2007/6/27/Rapid-De...
# Posted By Dan Wilson | 7/2/07 12:45 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.001. Contact Blog Owner