1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed mklink /X junction\

Discussion in 'Support' started by Stefano Piccardi, Mar 7, 2012.

  1. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    I happened to try deleting a junction with MKLINK /X and TCC crashed. I found no gpf file.
    TCC 13.03.51 Windows 7 [Version 6.1.7601]
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    It's an API crash; I've fixed it for build 52.

    Note: the correct syntax would be "rd junction".
     
  3. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,190
    Likes Received:
    11
    Rex, you mentioned that the /X switch was unnecessary in a report I had submitted earlier. If RD is the preferred way to remove symlinks and junctions, could you add a note to that effect to the /X description in the help?

    Scott
     
  4. Stefano Piccardi

    Joined:
    May 31, 2008
    Messages:
    376
    Likes Received:
    2
    Thanks.
    I tend to use MKLNK /D to delete a junction, MKLINK /X to delete a SYMLINKD, and DEL to delete a SYMLINK. I know that DEL and RD work too in some of cases, but using them for symbolic links obfuscates what's intended to happen, IMO.
     

Share This Page