How to create a Windows Symbolic Link



Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer.
For example:
if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target,
then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS.

Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions this junction-creating tool: Junction, does the trick.

Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.

Using Junction

Usage: [-s]

-s Recurse subdirectories


If you want to create or delete a junction, use Junction like this:

Usage: [-d] []

To delete a junction specify the -d switch and the junction name.

Download Junction (94KB)