Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to delete a symbolic link in Windows

📅 2012-Oct-22 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ del, deletion, mklink, rmdir, symbolic link, windows ⬩ 📚 Archive

A symbolic link can be created at the command-line using the mklink command of the command prompt.

To delete a symbolic link to a file use the del command:

del Foo.txt

To delete a symbolic link to a directory use the rmdir command:

rmdir Foo

Unlike creation of symbolic links, deletion of a symbolic link does not require Administrator privilege. It can be performed from a normal command prompt without elevated privileges.

Tried with: Windows 8 Pro

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧