Solved

reparse point questions

Posted on 2004-10-19
14
273 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article, I provide some information on storage disks which go into calculations that will help you figure out how much Input/output Operations Per Second (IOPS) your disk subsystem can deliver. To effectively size & tune up applications l…
Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
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…

932 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

13 Experts available now in Live!

Get 1:1 Help Now