Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a few folders that I refer to quite often. These folders are often deep in the folder tree. For example: E:\Work\Dec2009\rasters or something like that.

Is there a way to mount this folder as a new drive, so that I can quickly access it using My Computer?

I know that we can mount shared folders as network drives and they appear in My Computer; Is there a similar way to mount folders on your own computer without sharing the folder in question?

share|improve this question
up vote 7 down vote accepted

You can use SUBST, which is like drive mapping except it works with local paths rather than UNC paths.

In a command prompt or .bat/.cmd file:

subst x: E:\Work\Dec2009\rasters

To remove:

subst /d x:

Note that the drives created by subst are not persistent, so you'll have to create a .bat/.cmd file and place a shortcut in your StartUp group if you want this to be applied every time you log on.

share|improve this answer
OT: ah, good old subst. I remember back in the day when games where on disk and you could circumvent copy protection among other things with subst :) – artifex Dec 2 '09 at 14:23
that's nifty - never heard of subst before – warren Dec 2 '09 at 14:24
This is a nice trick. I really like your answer because it doesn't require any additional software. – Devdatta Tengshe Dec 2 '09 at 19:06
@warren, you'd be surprised how many seasoned Windows users have never heard of subst, and it's been around since the MS DOS days already. :-) – ThatGraemeGuy Dec 2 '09 at 20:35

Not as cool as Graeme's answer, I would have been inclined to make a shortcut to the folder on my desktop.

share|improve this answer

While using the subst command is a cute little trick (+1!), the number of drive letters is limited. Perhaps a 'directory hotlist' might suit you:

My tool of choice is Total Commander - simply hit CTRL + D to add a location to the "Directory Hotlist"

If you fancy something more 'graphical', have a look at Standalone Stack

enter image description here

There is also Anvir Task Manager Free, which automatically populates a list (accessible from tray icon) showing the most recently opened folders (folders can be added manually to this list).

enter image description here

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .