Wednesday, 9 January 2013

Symbolic Links and Junction Points

In order to re-direct folders to another location or drive symbolic links can be used.
Windows 7 by default already does this to manage some legacy directories like AllUsers being moved to ProgramData

Create a symbolic Link
MKLINK /J C:\thisfolder D:\thisfolder

The source folder must not exist and the target folder must exist.

Search for Symbolic Links
dir /aL /s C:\

More information is in this WIKI article http://en.wikipedia.org/wiki/NTFS_junction_point

No comments:

Post a Comment