From: Earnie B. <ea...@us...> - 2012-10-19 15:46:41
|
On Thu, Oct 18, 2012 at 3:13 PM, Renato Silva wrote: > > Thanks! yes, I like the link idea... Yes it is NTFS, but wouldn't symlinks > work too? Windows 7 supports them out-of-the-box, while in XP I think I can > use Link Shell Extension > (http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#symboliclinksforwindowsxp). > > IIRC it is possible to get symlink name from a linked script (that is, to > determine which command to call in the wrapper). Junctions work only for directories. Symlinks work for both directories and files but you must tell the tool which it is creating, it is stupid and doesn't figure out for itself; if you get it wrong it doesn't care but then the link doesn't work either. Junctions require the junction tool to delete the junction while symlinks are removed with del or rmdir depending on file or directory. Hardlinks are supported on NTFS since the beginning of NTFS, you can use them instead of symlinks and must use them when crossing disk drive boundaries. -- Earnie -- https://sites.google.com/site/earnieboyd |