Can't delete folder in Windows 7

Open Command Prompt, use dir /x to get the 8.3 name of the folder which cannot be deleted, and then use rd with the 8.3 name of the folder, and it should be gone.

If this doesn't work, ensure first that the folder is empty.


You can try Unlocker if you experience these kind of issues in the future. Windows is known to lock certain files/folder and refuse access to edit/delete them from time to time; Unlocker is a handly little program that can help rename/move/delete unresponsive files/folders.


yes. Boot into Linux using any of the live CDs, I would recommend Ubuntu and delete that damn folder


  1. Download 7zip
  2. Browse to folder
  3. Right-click rename (successful)
  4. Close 7zip
  5. Browse to folder > right-click delete