How to delete a stubborn folder in Windows 7 / Vista when it says, ‘Item not found’

Posted by on May 18, 2011 in Blog

I discovered a stubborn folder that could not be copied or deleted: Windows 7 kept opening an “item not found” dialog. Turns out it was an attempted download gone wrong, resulting in an empty, stubborn folder.

So I did some searching, and finally found the solution which I’ve copied below. But at step 5, instead of renaming the folder I removed it with this:

rd /s

Here it is for anyone else searching,

Original found here: http://forums.techarena.in/vista-help/894773.htm

Solution for Vista’s “Item not found” error when deleting or renaming files/folders

When you try to delete or rename a file/folder, you may receive a window that says: “Item not found. Could not find this item. This is no longer located in [folder]. Verify the item’s location and try again.”

To solve, follow these steps:

  1. Open up a command prompt (run cmd.exe from the Start Menu).
  2. Navigate to the folder that the object resides in.
  3. Run “dir /a /x /p” to display the contents of the folder, including hidden files (/a) and 8.3 filenames (/x).
  4. Find the 8.3 filename of the object to the left of the regular, long filename.
  5. Run “ren ” to rename the object, “del ” to delete it if it’s a file and “rd /s ” to delete it if it’s a folder.

Note: If renaming to a long filename, make sure to enclose the long filename in quotations. If that fails, temporarily rename it to an 8.3 name and then rename it to what you want outside of the command prompt.

Type in a command prompt

Dir “c:\Crookers – Knobbers remix.*”/s /a

which will search the whole hard drive