Solved

reparse point questions

Posted on 2004-10-19
14
272 Views
Last Modified: 2010-04-03
I'm cheating - this is actually two questions, but I think the answer should be easy for someone who knows.

1.  Can I create a 'reparsed file'?  That is, I want c:\folder\myfile.txt to actually be stored d:\here\myfiled.txt.  I don't want a shortcut, since that's actually myfile.txt.lnk and the program won't write to it.

2.  How can I create a mount point to a sub-directory?  I want to map c:\somefolder\backup to thisvolume\thatfoldersbackup\.  (I know how to mount 'thisvolume' to that directory, but I want to begin in a directory, not the root since it's shared).
0
Comment
Question by:end-user
14 Comments
 
LVL 12

Expert Comment

by:Mazaraat
ID: 12349482
How about the SUBST command?

SUBST G: D:\myfolder

=)
0
 

Author Comment

by:end-user
ID: 12349618
Can subst mount volumes rather than depending on drive letters?
0
 
LVL 12

Expert Comment

by:Mazaraat
ID: 12370538
yes, as long as you have access normally:

SUBST G: \\server\share

workss also
0
 
LVL 12

Expert Comment

by:Mazaraat
ID: 12370592
Note there is a space between the drive letter and the the URL
0
 

Author Comment

by:end-user
ID: 12370895
Right, but all that's doing is mapping a network path, and the volume you used is shared.  I'm talking about volumes on the system that don't otherwise have a designation.  Also, I don't want to use a drive letter, I want to create a folder that maps to something else.  Like my example.
0
 
LVL 12

Expert Comment

by:Mazaraat
ID: 12375895
You could do this(but again its a drive letter)

subst G: c:\somefolder\anotherfolder

or

subst G: \\server\share\folder

or even

subst g: \\server\c$\folder\folder

still wracking my brain for other possibilities...but this one sticks out as the way to do it.

0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:end-user
ID: 12376598
Well, here's one way to do it, but I was hoping for a more elegant way.

First, use the logical disk manager to mount the volume as a directory off the c drive, like c:\windows\mounted volume\.

Then, use a tool like linkd to create a junction between d:\somefolder\redirectedfolder\ and c:\windows\mounted volume\targetfolder\.

Again, not wonderful since the whole volume is visable and accessible on the c drive...
0
 
LVL 12

Expert Comment

by:Mazaraat
ID: 12383262
OK now your going to love me =) I found EXACTLY what your looking for utility called junction:

http://www.sysinternals.com/ntw2k/source/misc.shtml#junction

This utility will allow you to manually create junction points between folders, and on diferent drives

Here is also another freeware that has a nice GUI tool that will do this:
http://www.pearlmagik.com/winbolic/


ENJOY!!

0
 
LVL 1

Expert Comment

by:alanclos
ID: 12429815
What version of Windows is this?  You can have an entire volume show up as a mount point (folder) in another directory by using diskmgmt.msc and assigning a mount point (same how you assign a drive letter)?

Have you looked at this?
0
 

Author Comment

by:end-user
ID: 12434037
*sigh*  read back two posts.  
0
 

Author Comment

by:end-user
ID: 12630389
I care; I don't feel that any satisfactory answer has been provided.  I think I came up with the closest option on my own.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12735804
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A bootable USB key can be very handy now-a-days. My favorite USB key consists of our Windows 7 image, network card drivers (to connect up to a Ghost server), the latest BIOS updates for all of our PCs and CopyWipe (to erase a retired PC) Creating…
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now