Skip to content →

HOWTO: Map a Folder to a Drive Letter

If you’ve used TrueCrypt before, you know you mount encrypted volumes as drive letters. Ever wonder how to mount just a regular folder as it’s own virtual drive? You can issue the subst command in the command prompt to do this.

subst <drive letter> <path>

Just make sure the drive letter isn’t being used. If you ever need to delete a virtual drive, just issue the following command:

subst <drive letter> /D

Here are some examples:

subst M: C:\Documents and Settings\Mark\My Documents\My Music

subst W: C:\Inetpub\wwwroot

subst F: C:\Inetpub\ftproot

If you want to get this job done using a GUI, go ahead and grab Visual Subst.

Published in time savers windows