Tuesday, November 15, 2011

Unable to Delete File - Could Not Find this Item Error

So apparently Windows has difficulty deleting 0 byte files. If you ever try to delete a folder and get the following error "Could not find this item. This is no longer located in \\. Verify the item's location and try again" check the size.

If the file size is 0 bytes you might need to do the following:

1. Open an elevated command prompt (Right click on Command Prompt > Run As Administrator)

2. Use rmdir /S to delete the entire folder

3. There is probably a way to delete the files individually but I tried a couple and none of them worked.