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.
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.
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.
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.
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 .
what worked for me was using rm -rf in git bash.
before proceeding further, check if everything is correct. there won't be an undo.
rm -rf folder-namea 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.