The System cannot find the file specified error while deleting folder

Inspired by one of the answers, but instead of using 7-zip I used WinRAR to archive the empty folder. Before archiving the folder there is an option to delete the folder after archiving, select that option and once the folder is a zip file, the folder should be deleted, and you can go ahead and delete the zip file. I am not sure if it will work for you but it worked for me after spending hours on the internet trying to find a solution.


Use 7-zip to "move" them.

When facing an inability to delete a file because of "the system cannot find the file specified" I've tried all the common tricks (verify permissions, command line, free unlocker tools, etc). What finally got rid of them for me was 7-zip. Using 9.20 "7-zip File Manager" interface (not just the right click on file options) I was able to "Move" the folder which contained the problem files. Sure, that just moves the problem but there is the beauty, you move them to a disk you can format: a VMDK, a thumb drive, etc... problem solved ;)


Here is what worked for me.

  1. Open command prompt
  2. Browse to parent directory of the folder you want to delete
  3. run 'dir /x' (displays short names - xxxxxx~1)
  4. run 'rd xxxxxx~1' substituting the folder name you want to delete.

I had a problem where two Pictures folders would show under my user profile, and windows wouldn't let me delete the second folder.


I used "rm -rf PATH_TO_FOLDER" command line on Git Bash (not cmd), then I can delete the similar folder. Note: Tested on Windows 10 (latest version).