Howto mount directories in directories

  • Thread starter Thread starter Johannes Lebek
  • Start date Start date
J

Johannes Lebek

Hi there,

I know how to mount a partition in a directory using the Disk Management
-> "Change Drive Letter and Paths...".

However, I was wondering whether I could map a directory (instead of an
entire partition) to a directory. Like mapping D:\more_data in directory
C:\data, so I can access file "test.txt" located in D:\more_data by
refering to C:\data\test.txt.

Using the method mentioned at the beginning I cannot do that. In that
case I would have to access the file like this: C:\data\more_data\test.txt

Any help is greatly appreciated,

Johannes
 
Johannes said:
However, I was wondering whether I could map a directory (instead of
an entire partition) to a directory.

You can, but this is somewhat of a black art and may have some peculiar
consequences if you delete linked directories and files using Windows shell
tools. I would suggest using it with caution and with a good reason, not
just for cosmetic purposes.

Read the Help and Support center information on fsutil.exe, which comes with
XP, and also take a look at this freeware program:

http://www.rekenwonder.com/linkmagic.htm
 
First, I really thought: That's it!

However, the drive I specify as parameter for subst does not appear on
the "Disk Management" screen.

Is there another way to assign a path to a drive letter (like Disk
Management does)?

Thanks for help, Bob.
 
Thanks for your help, Chris.
Sounds interesting... I will take a closer look on the documentation.
Regards,

Joh.
 
I can find the drive I just created with "subst". However, I cannot
specify a directory links to this drive.
I do not find any options in My Computer or Windows Explorer to define
this link.
 
Specify what directory links to this drive? The Drive IS the directory
after you run SUBST. In other words the drive letter "X" replaces or is
SUBSTituted for the drive letter and path above the directory.
 
Back
Top