Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 8, Windows Server 2008, Windows Server 2012, Windows Vista

Creates a symbolic link.

For examples of how to use this command, see Examples.

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


Parameter Description


Creates a directory symbolic link. By default, mklink creates a file symbolic link.


Creates a hard link instead of a symbolic link.


Creates a Directory Junction.


Specifies the name of the symbolic link that is being created.


Specifies the path (relative or absolute) that the new symbolic link refers to.


Displays help at the command prompt.

To create a symbolic link named MyDocs from the root directory to the \Users\User1\Documents directory, type:

mklink /d \MyDocs \Users\User1\Documents

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft