I'm trying to delete a folder in Windows 7 and get a perplexing error message: "Could not find this item: This is no longer located in G:\Graphics. Verify the item's location and try again.

I can see the folder -- I can find it. I just can't delete it.

I also get a second error message (sometimes) when I click on the folder: G:\Graphics 2009-11-17 refers to a location that is unavailable...this information might have been moved to a different location.

I'm using Windows 7; this folder is on an external hard drive. I've emptied the folder (there were items in it); I've scanned that external hard drive for errors. Trying to rename the folder yields the same enigmatic error message.

Is there a way to delete this folder?

link|improve this question
feedback

5 Answers

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.

link|improve this answer
Thanks, this worked. Not only did I have to rd with the 8.3 name, but there were a bunch of hidden sub-folders with content which had to be deleted first: 'del /s /f /q .' and then 'rd /s /q eight.three'. – Tom Jul 13 '10 at 10:07
feedback

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

link|improve this answer
1  
Haha, I remember creating a ton of nested directories one time in Windows to mess with a friend, then I couldn't delete them from Windows. I think I ended up doing it in Linux. – Sarah Vessels Nov 18 '09 at 20:05
1  
Yeah...I virus clean all my suspicious thumb drives in Ubuntu before shoving them up in Windows – detj Nov 18 '09 at 20:24
feedback

Try this:

Do a dir /x /ad to get the 8.3 name of the folder (it will look like docume~1), then do a rd folder* /s (you may even truncate it more like rd fol* /s if there are no other directories with similar names).

If this does not work, the run chkdsk /f (maybe a couple of times even, but check your Event Viewer>Windows Logs>Application Log to see if there are still a lot of errors. http://www.sevenforums.com/tutorials/96938-check-disk-chkdsk-read-event-viewer-log.html screenshots 6 or 8). Then try the rd command with the 8.3 again as above.

link|improve this answer
feedback

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.

link|improve this answer
feedback

Try restarting your comptuer, and then deleting the folder.

When you restart your comptuer the folder might even be deleted, explorer just wasnt showing it.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.