?
Solved

reparse point questions

Posted on 2004-10-19
14
Medium Priority
?
282 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
12 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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
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
 

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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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…
Suggested Courses
Course of the Month5 days, 16 hours left to enroll

588 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