Solved

reparse point questions

Posted on 2004-10-19
14
275 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
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 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 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…

735 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