Linux and unix have had this nifty little feature called symlinks (symbolic links) for decades. Windows has finally caught up with the new command mklink.
Windows Vista introduced the new command mklink, which was expanded in Windows 7.
Syntax
MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory Junction. Link specifies the new symbolic link name. Target specifies the path (relative or absolute) that the new link refers to. |
Examples
Link d:\myfile.txt (the file) to c:\something.txt (the link):
mklink c:\something.txt d:\myfile.txt |
Make some crappy old program save its data to your fileserver directly by linking \\fileserver\data (target) to c:\program files\crappy-old-program\data (the directory).
mklink "c:\program files\crappy-old-program\data" \\fileserver\data /d |