Thursday, September 6, 2012

Windows "Could not find this item" Error

I had an issue where something in the Windows file system got corrupt and I couldn't delete a certain folder.  The error I got was "Could not find this item".  I tried a lot of things like renaming, moving, etc., but nothing worked.  This finally did it:

1. Open up a command prompt and go to the parent directory of the problematic directory.
2. Run Dir /x and make a note of the 8.3 format version of the folder name.  It may be shortened, with a ~ in it.
3. Run Ren <8.3 folder name> <some arbitrary new name> to rename the folder.
4. Run Del <some arbitrary new name> or just delete the renamed folder in Windows Explorer.