When I try to delete folder shortcuts from command prompt it deletes the target folder contents. Can anyone help me to find another way to just delete shortcut?
Thanks to Christian K. I found the answer: First I created a .lnk file (shortcut) with mklink but when I used del or erase to delete shortcut target file contents deleted. So now we can use rmdir to remove just shortcut.