**Be very careful.** If you have a symbolic link that is a directory (made with `mklink /d`) then using [`del`][1] will delete all of the files in the target directory (the directory that the link points to), rather than just the link. **SOLUTION:** [`rmdir`][2] on the other hand will only delete the directory link, not what the link points to. [1]: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/del [2]: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir