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

DEL /L question

Discussion in 'Support' started by Steve Fabian, Jan 18, 2012.

  1. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    Does the /L option of DEL, documented as " Delete symlinks instead of their contents. (Not available in TCC/LE.)" handle junctions in the same manner? AFAIK the only place where symlinks and junctions are distinguished is in the MKLINK command.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    There's no difference between a symlink and a junction for directories. A DEL /L just calls the Windows RemoveDirectory API.
     
  3. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    Thanks for the quick answer. This is what I expected, but the documentation of DEL /L refers only to symlinks. Maybe junctions could be added?
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    I don't know that it would be meaningful -- a junction is a type of symlink, not a separate entity.
     

Share This Page