MKLNK?

#1
If I issue "MKLNK" (without "/=") I get the command dialog anyway (which seems wrong).

If I use the command dialog, and enter "exists" in the first box (existing file or directory) and "new" in the second box (new file or directory link), the command line created is
Code:
MKLNK new exists
which seems to be the opposite of the help's
Code:
parm1 Name of an existing file (hard link) or directory (for soft link).
parm2 Name of the new directory entry (a file or directory reference) to be created.
 
#2
And MKLINK would seem to indicate success inappropriately.
Code:
v:\> mklink /j adhome o:\
Junction created for adhome <<===>> o:\

v:\> dir adhome\

TCC: (Sys) The data present in the reparse point buffer is invalid.
 "V:\adhome\"
 

rconn

Administrator
Staff member
May 14, 2008
10,636
97
#5
If I use the command dialog, and enter "exists" in the first box (existing file or directory) and "new" in the second box (new file or directory link), the command line created is
Code:
MKLNK new exists
I have corrected the ordering in the next build.

However, you shouldn't be using MKLNK - it has been obsolete since Windows 7. You should be using MKLINK.