MKLINK

Print Topic  Return to Overview  Previous Topic  Next Topic 
Purpose:Create NTFS symbolic, hard, and soft links.

 

Format:MKLINK [/D /H /J /Q] Link Target

 

/DCreate a directory symbolic link.  (The default is to create a file symbolic link.)
/HCreate a hard link (like MKLNK).
/JCreate a junction.
/Q Don't display results.

 

LinkThe new symbolic link name
TargetThe pathname (full or relative) that the new link refers to.

 

Usage:

 

Due to Windows file system restrictions, creating symbolic links with MKLINK requires an NTFS volume and Windows Vista or later.

 

The file/directory names in Link and Target can be fully or partially qualified. MKLINK will also copy an existing description to the link.

 

See also MKLNK.

 

Option:

 

/DCreate a directory symbolic link.  (The default is to create a file symbolic link.)

 

/HCreate a hard link instead of a symbolic link.

 

/JCreate a junction rather than a symbolic link.

 

/QDon't display the result.

 

Topic "mklink.htm" last edited 1/15/2008. ©2008  JP Software, Inc.
Keywords: MKLINK,Link,symbolic links,Junction (reparse point),Hard Link,Soft Link