Symbolic links on Windows

Ever wondered if there’s a similar Unix Symbolic Link (ln) function on Windows?

A symbolic link is a file-system object that points to another file system object. The object being pointed to is called the target.

Symbolic links are transparent to users; the links appear as normal files or directories, and can be acted upon by the user or application in exactly the same manner.

Symbolic links are designed to aid in migration and application compatibility with UNIX operating systems. Microsoft has implemented its symbolic links to function just like UNIX links.

Try the command mklink in the command prompt.


mklink [[/d] | [/h] | [/j]] <Link> <Target>

mklink /d \MyDocs \Users\User1\Documents

For more details, check the Microsoft TechNet Mklink Documentation.