Windows remove directory symlink
Or perhaps after the mushrooms Show 9 more comments. It is correct. I do it all the time. Just tested it again right now. This just worked for me as well. This does NOT delete the linked folder. Show 1 more comment. George V. Reilly George V. Reilly 5 5 silver badges 5 5 bronze badges. Warning: "del" will delete the file and not just the link. Warning from Tristan is not correct, this answer is accurate. Tested on windows 7. In Windows 7 SP1 bit , a symbolic link that points to either a file e. If not empty, the target directory cannot even be deleted using the command DEL junction at the command prompt. Tested today. On Windows Server , this removed the directory contents that my symlink was pointed to You should warn people not to rmdir links from Powershell! That blog confuses the meaning of "Target", which is the actual directory the link points to, and which folks generally wish to avoid deleting whilst removing the link. To add to the confusion, del is