Take Command / TCC Help v. 13.03

MKLINK

Hide Navigation Pane

MKLINK

Previous topic Next topic No directory for this topic No expanding text in this topic  

MKLINK

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

Purpose:Create NTFS symbolic, hard, and soft links.

 

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

 

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

 

/ACreate a link with an absolute path.
/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.
/X Delete directory link.

 

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.

 

MKLINK sets two internal variables:

 

%_mklink_filesThe number of links created
%_mklink_errorsThe number of errors

 

See also MKLNK.

 

Option:

 

/=Display the MKLINK command dialog to help you set the filename and command line options.  You cannot specify any other arguments on the command line.  (Not available in TCC/LE.)

 

/ACreate a link with an absolute (full expanded) pathname. For CMD compatibility, MKLINK creates relative links if you don't specify a full pathname.

 

/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.

 

/XDelete a directory link.

Comments (...)