WAD MKLINK & XP

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Oct 29, 2008
83
0
#1
Apparently, relative junctions aren’t supported by the XP/2003 version of NTFS:
Code:
[C:\tmp0]md foo
 
[C:\tmp0]mklink /j bar foo
TCC: (Sys) The data present in the reparse point buffer is invalid.
"bar"
 
[C:\tmp0]mklink /a /j bar foo
Junction created for bar <<===>> C:\tmp0\foo
Strangely, if you try the same thing on a Win 7 volume through terminal services (I used a VM in Windows Virtual PC and changed to \\tsclient\c), then it works.

(tested versions: 13.03.35 & 36)
 
Oct 29, 2008
83
0
#3
Erm. It works if you use /a, as I stated, so they do exist. At least Microsoft thinks so. (Unless it's something else you're using.) Just force the /a option on under XP/2003, to prevent the error, and maybe mention this in the help file

Also, the short help, really-short/status bar help, and alt-F1 command dialog for MKLINK don't mention the /a option.