I don't see a clear answer here - and this can be useful to others, so here's the solution I use.
Like UNIX, ntfs can handle symbolic links.
http://en.wikipedia.org/wiki/NTFS_symbolic_linkIn windows vista/7 this command is built in. In XP, you'll need a tool (e.g.
http://schinagl.priv.at/nt/hardlinkshel ... llext.html)
Essentially, say you have a folder on your C:\ drive you wish were stored on an alternate drive - e.g. D:\
lets assume we want data in "C:\Documents and Settings\Beomagi\My Documents\filesidontwanthere" moved to
"D:\transplants\here".
You'd copy all data from "C:\Documents and Settings\Beomagi\My Documents\filesidontwanthere" to "D:\transplants\here"
Rename "C:\Documents and Settings\Beomagi\My Documents\filesidontwanthere" to say "filesidontwanthere_temp"
now create the symbolic link in "C:\Documents and Settings\Beomagi\My Documents\" called "filesidontwanthere" linking to "D:\transplants\here"
practical e.g. -
So in this example
1 - Copy the folder to another location where you want it
2 - Rename the original folder - only delete it when you're done!
3 - Create the symbolic link to new destination
4 - Doublecheck
5 - Test your apps
6 - Delete the renamed source
note - tool used is linkd from
http://www.microsoft.com/download/en/co ... x?id=17657Code:
C:\temp>xcopy autostitch autotemp --------------------------------------------- copy your files to where you want them
Does autotemp specify a file name
or directory name on the target
(F = file, D = directory)? D
autostitch\autostitch.exe
autostitch\LICENSE.TXT
autostitch\README.TXT
3 File(s) copied
C:\temp>mv autostitch autostitch_temp --------------------------------- backup your original
C:\temp>linkd autostitch autotemp --------------------------------- create link with the name of the original
Link created at: autostitch
C:\temp>dir /ad | grep auto ----------------------------------------proof it - this shows the link was made
02/15/2012 12:11 PM <JUNCTION> autostitch
08/16/2011 02:06 PM <DIR> autostitch_temp
02/15/2012 11:51 AM <DIR> autotemp
C:\temp>dir autostitch ----------------------------------------proof it - this shows files in \autostitch (which is really under autotemp)
Volume in drive C has no label.
Volume Serial Number is F81B-872F
Directory of C:\temp\autostitch
02/15/2012 11:51 AM <DIR> .
02/15/2012 11:51 AM <DIR> ..
01/17/2008 10:56 PM 774,144 autostitch.exe
12/12/2006 09:56 PM 639 LICENSE.TXT
12/12/2006 09:57 PM 3,221 README.TXT
3 File(s) 778,004 bytes
2 Dir(s) 22,674,448,384 bytes free
From this example, you can have autostich on c:\ - it could be in your my docs folder or where ever. Autotemp can be on any other drive. Files will exist in autotemp and use space there - but the link lets you access them as if they were still in "autostitch".