Skip to main content
3 of 5
It is dangerous if the first command a reader sees is "del foo", because careless use can lead to disaster. It is safer to present the rmdir option first, and mention del only after that.

READ EDDYQs ANSWER BELOW, I CAN'T DELETE THIS ANSWER (ELSE I WOULD)

MKLINK cannot be used to delete symbolic links. To remove a symbolic link, simply delete them as if you’re removing a normal file. For example, to delete the foo symbolic link created above, enter the following command:

If the link is a hard link to a directory:

C:\test>rmdir foo

OR ELSE, IF the link points to a FILE (as opposed to a dir)

C:\test>del foo

source: http://www.mydigitallife.info/2007/05/22/create-symbolic-links-hard-links-and-directory-junctions-in-vista-with-mklink/

Daisetsu
  • 6k
  • 4
  • 36
  • 44