Does Windows have symlinks?

Windows 2000 and later allows for symbolic linking but refers to symbolic links as junctions. I do not believe you can make them easily without an additional tool, but you can find free tools for creating them.

Free tool: http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx

KB Article on Junctions: http://support.microsoft.com/?kbid=205524


On Windows pre-Vista, the best you can do is mounting a drive using the subst command which points to any directory that you want to. I've done this to eliminate the requirements on some applications that need a path without spaces.

Windows Vista included the mklink command.


NTFS 3.0 Junctions most closely represent hard links, and can only be created on directories. Junctions, like hard links, can only referrer to items on the same volume.

Additionally, NTFS allows one to mount other volumes as directories in a file system. This is similar to a symbolic link. The folder will exist if the other volume is not available, but you will receive an error if you attempt to access it in this state.

I haven't found any worthwhile use for junctions. I have used mounting other volumes. I have a USB key which I like to mount at C:\usb. This avoids me having to worry about what random letter it gets assigned to when I plug it into my Windows XP system.

Mount a drive as a path
(source: theeggeadventure.com)