If you delete a directory symbolic link in Windows 7, using explorer's right-mouse menu delete command, will you also delete the contents of the directory it points to? If you do, is there any way of just killing the symbolic link?


You will only delete the directory symbolic link (made by mklink /d) itself. I have tested:

  • Deleting the symbolic link
  • Multi-selecting and deleting the symbolic link and another file or folder
  • Deleting a folder containing the symbolic link

In all cases, the link target is unaffected.

The same behavior apply to directory junctions as well.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.