2

I've read about deleting files which "do not exist"

and got as far as del /q /s filename in command prompt.

However, the file is named COM^sv3.O[e in the browser.

but when i type in dir it = enter image description here

Of which there are charaters I cant even type. Even copying from teh command prompt, as is. It still "cannot find" the file.

Any ideas on how to delete?

4

That backspace character can be a problem. Use the UNC path. Switch to the directory where the file is stored, then use this command:

del \\?\%cd%\COM^sv?3.0[e

Of course this is assuming that the filename shown in your screenshot is complete. If not, then just reduce it to del \\?\%cd%\COM*

Also, did you try simply deleting the file in Explorer?

| improve this answer | |
  • Thank you! I had a similar issue and had to remove a directory called abc (trailing space). You cand do that with rmdir "\\?\c:\Users\YourUserName\Desktop\abc " – Johan Lundberg Jan 20 '15 at 11:02
1

Use this command to see all files and directories starting with "COM":

dir /a COM*

If there is only the problematic file, try to delete it using:

del COM*

| improve this answer | |
  • If i type del COM* it lists the file, then "cannot find" it K:\myfolder>del COM* K:\myfolder\COM^sv⌂3.O[e The system cannot find the file specified. – IAmGroot Nov 27 '13 at 11:15
  • 1
    Have you checked for filesystem errors? do a checkdsk /f c: – Aleix Mercader Nov 27 '13 at 11:48
  • Could that be a link ? – mveroone Nov 27 '13 at 12:21
  • You could try getting the short file name (8.3 characters, something like COMSV3~1) of the file with dir /x COM*, then del (short name) – Aleix Mercader Nov 28 '13 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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