Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Mapping more than one folder to a drive using SUBST?  (Read 4279 times)

0 Members and 1 Guest are viewing this topic.

kproudfoot

    Topic Starter


    Starter

    • Experience: Familiar
    • OS: Windows 7
    Mapping more than one folder to a drive using SUBST?
    « on: November 27, 2012, 01:31:06 PM »
    Hello, I was wondering if there is a way to map two different folders to be in the same drive letter?

    For example, I have this folder:  C:\dir1\dir2

    And this folder:  C:\dirA\dirB

    I would like to have the dir2 and the dirB directories show up on a new virtual drive. Is this possible? I cannot seem to find any examples of it, so I am assuming it is not possible.

    Can I simply map them both to the virtual drive? Or will this create a major conflict?

    Thanks,
    K.

    foxidrive



      Specialist
    • Thanked: 268
    • Experience: Experienced
    • OS: Windows 8
    Re: Mapping more than one folder to a drive using SUBST?
    « Reply #1 on: November 27, 2012, 02:56:40 PM »
    It will not let you add a second folder to the SUBSTed drive.  You will get an error message like the following:


    c:\>subst h: d:\folder

    c:\>subst h: c:\files
    Drive already SUBSTed

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Mapping more than one folder to a drive using SUBST?
    « Reply #2 on: November 27, 2012, 05:13:36 PM »
    What version of Windows are you using.  You could possibly do it as a symbolic link  if you are using Vista or 7.

    On XP you would need to install a 3rd party utility.  Well not really third party considering MS bought sysinternals a few years ago.  You can download the Junction utility which will allow you to create links for directories. 

    And just saw this for the first time.  A shell extension for Explorer.
    http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html
    « Last Edit: November 27, 2012, 05:24:45 PM by Squashman »