5

When I try to delete file in my PC it gives the error

Could not find this item This is no longer located in C:\Users\1600\Downloads. Verify the item's located and try again

File shows 0KB size.

djsmiley2kStaysInside
  • 6,943
  • 2
  • 36
  • 48
Azhar
  • 452

5 Answers5

6

This is not answered. Ironically, it is answered in the following thread which is marked as a duplicate of this question:

Cannot delete a file: System cannot find the file specified

I had this problem because I had generated folder names with a trailing space character, which Windows 7 does not handle gracefully. After trying all sorts of command line wizardry and obscure workarounds the thing that allowed me to delete the folder with trailing space was 7-zip, of all things. I clicked "Delete files after compression" and 7-zip was able to delete a folder that neither explorer.exe nor cmd.exe could.

HackSlash
  • 5,015
1

Perhaps it has a control char or other invisible character embedded in the name. Try going to a command prompt and do a dir of the filename. If it says it could not find it, use wildcards e.g. foo around part of the filename until it shows a directory listing for the one file. Then use the same wildcards in the del command.

tcrosley
  • 453
0

Thanks to stackoverflow answer https://stackoverflow.com/a/41267957/2622214, if you have Git installed on your windows machine, git bash enables you to use rm -rf .

rbassett
  • 101
0

what worked for me was using rm -rf in git bash.

  1. download and install git bash (obviously!)
  2. open the containing folder in file explorer
  3. right click on empty space
  4. select "Open Git Bash Here"

before proceeding further, check if everything is correct. there won't be an undo.

  1. rm -rf folder-name

a word of advice, use tab auto-completion to prevent typos and mistakes.

I tried deleting the folder in cmd, it gave me a "the system can not find the specified file". I also tried archiving the folder and checking the "delete after" option, that didn't work as well.

nitwit
  • 101
-2

Try to delete it in Safe Mode. To get there, press F8 after the BIOS screen has passed.

Try KillBox.

ctzdev
  • 2,350