Win32: Mount folder into another folder
-
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!Use symbolic links under linux :~ ;P I've searched for something like this and I don't think it's very easy to accomplish. Ah if only something worked under Windows like they do on Linux... :sigh:
I have no idea what I just said. But my intentions were sincere.
-
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!use the
linkd
tool from W2K resource kit edit: http://support.microsoft.com/kb/205524[^] -
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!If you're using Vista, use the "mklink" command line tool to create symbolic links (a new NTFS feature in Vista). On XP, use a tool that can create junctions. But remember that the XP's explorer and junctions are a dangerous combination: when deleting a junction, explorer deletes all files in the directory the junction points to! Some differences between symbolic links and junctions: Junctions point to a target directory using partition number+reference to directory index; symbolic links point to a target directory using a normal path. Only symbolic links can point to UNC paths. Junctions are can only point to directories; symbolic links are supported both for directories and files. And don't confuse symbolic links or junctions with hard links (which are for files only and are supported on XP).
-
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!You can use the shell extension by Michael Dunn, that creates hardlinks: http://www.codeproject.com/shell/shellextguide4.asp[^]
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan
-
mountvol
seems to allow only mounting a drive into a directory. Is it possible to mount a directory as another directory? I have to folders d:\sourcesA and d:\sourcesB, and want to mount them alternatively as d:\sources any ideas?
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!Not quite what you want but you could use the command line
subst
to map a directory onto an available drive letter, I've used this quite a bit. Elaine :rose: -
Not quite what you want but you could use the command line
subst
to map a directory onto an available drive letter, I've used this quite a bit. Elaine :rose:Trollslayer wrote:
Not quite what you want but you could use the command line subst to map a directory onto an available drive letter, I've used this quite a bit.
Just remember that subst are per-user, while junction points are per-system. This can make all the difference if you want that an IIS application see your subst drive :)
From the Churchdown Parish Magazine: "Would the Congregation please note that the bowl at the back of the Church, labelled 'For The Sick,' is for monetary donations only."