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

MKLNK not deleting symbolic link

Discussion in 'Support' started by ad1c, Dec 18, 2012.

  1. ad1c

    Joined:
    Jul 31, 2008
    Messages:
    19
    Likes Received:
    0
    I'm using TCMD 13.04 on a Windows 7 Enterprise system. File system is NTFS

    I can create a symbolic link, but I can't delete it. Any idea what's wrong?

    c:\home\unified\fcc>mklink FCC.20121216.log FCC.log
    Symbolic link created for FCC.20121216.log <<===>> FCC.log

    c:\home\unified\fcc>dir FCC.20121216.log

    12/18/2012 14:40 <SYMLINK> FCC.20121216.log [FCC.log]

    c:\home\unified\fcc>mklnk /D FCC.20121216.log

    c:\home\unified\fcc>dir FCC.20121216.log

    12/18/2012 14:40 <SYMLINK> FCC.20121216.log [FCC.log]
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,726
    Likes Received:
    80
    You're creating a symbolic link with MKLINK, and then trying to delete it with MKLNK (which doesn't support symbolic links).

    If you want to delete a file symbolic link, just use DEL on the symbolic link name.
     

Share This Page