How To Map a Local Windows Folder to a Drive Letter

Why would you want to map a folder to a drive letter? Maybe some folder you work with constantly is hidden under a convoluted folder structure, like:

    ‘U:\Data\User Files\Shared\Clients\VIPClient\Pensky File\Project 232\’

Wouldn’t it be easier to refer to it as: R:\ ?

This is pretty common to do with network locations under Tools -> Map Network Drive. However I didn’t know of a way to do this with local folders until recently. You can either do it via command line or use a simple program known as Visual Subst.

(1) Using “subst” command

Under Windows, there is a legacy dos command named “subst”:

C:\>subst /?
Associates a path with a drive letter.


SUBST [drive1: [drive2:]path]
SUBST drive1: /D


drive1: Specifies a virtual drive to which you want to assign a path.
[drive2:]path Specifies a physical drive and path you want to assign to
a virtual drive.
/D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

C:\>

(2) Visual Subst

Fortunately there is an easier way to utilize this command than having to remember the command line every time you want to use your files. The free windows program Visual Subst will manage these drives for you.

VisualSubst

This program will not only allow you to create these ‘Virtual Drives’ but will also set them up on reboot.

From their site, download the installer if you plan on having it apply the virtual drives on startup. That way, it will install a start menu link for you and give you ready access to all virtual drives.

For anyone who works with a long folder name constantly, you will find that this really helps out when you are dealing with anything that needs to access these folders a lot!

If you found this article useful then please help us spread the word by Stumbling It.

Filed Under: Uncategorized

If you like this article then subscribe to MakeUseOf feed and get latest articles delivered to your Feedreader. If you want to recieve latest articles in your email click here. It's FREE!

What's next ?:

Most Popular:
  • 1 Awesome Gmail tip You Don’t Know about. Seriously.
  • 100 Portable Apps for your USB Stick (both for Mac and Win)
  • 40 Unusual Websites you should Bookmark.
  • 13 Bargain Websites That are Cheaper than eBay
  • 5 Packs to Transform Windows to other OS
  • The Best, Free Alternatives to Nero CD/DVD Burner
  • 7 Excellent destinations to watch TV Shows for FREE
  • 5 Tools to Make Windows XP Look Like Vista
  • 18 Free Ways To Download Any Video off the Internet
  • Watch Popular TV Shows,Cartoons,Movies,Anime for free
  • Gmail Craze: 40 + Tools and Hacks for Gmail
  • Ultimate GMail Collection: over 80 Tools and Tips
  • Collection of Rapidshare Tools and Tricks
  • 5 “DISPOSABLE” Web Accounts to Keep Your Identity Safe
  • 3 Excellent Sites to Get Free Document Templates
  • Are you a geek ? Want to get famous ? Join MakeUseOf.com

    Comments RSS | Trackback URI

    6 Comments Leave a Comment

    Comment by bob
    2008-04-09 12:18:02

    It isn’t that hard to remembert “subst”, now is it?
    And also, when you said the ‘Visual Subst’ mapped them again at reboot, were you implying that ’subst’ itself did not?
    It is just that I don’t want to have to download and install yet another app, if I know windows had it built in!

     
    Comment by Ben
    2008-04-09 17:21:37

    Still seems easier to use shortcuts..

    Comment by Aibek
    2008-04-10 07:14:24

    Drive icons look prettier. :-)

     
     
    Comment by Gopinath M
    2008-04-10 13:28:48

    Wow…excellent tip

     
    2008-04-11 04:01:19

    [...] Via | MakeUseOf [...]

     
    Comment by STEVE
    2008-05-02 14:19:12

    This looks like EXACTLY what I need.
    But I also need help.
    My windows XP crashed and seems to be unasvable. So I hooked up another hard drive w/ working XP, to boot from. but all my stuff is on the original (now slave)drive and hard to access. How can I use this program to remedy this immediate inconvenience?

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment. All comments are moderated. If your comment does not show up immediately, be patient. It will show up momentarily.
    © 2007-2008 MakeUseOf.com. All rights reserved. Design by Unique Blog Designs.