0

The file doesn't have the short name (shown by del /x), answers here didn't help: How to delete a file that contains spaces in the file name?

On attempt to del /F via pattern and \\?\ prefix it says "the filename,directory name, or volume label syntax is incorrect".

  • Please show us the command you tried to use. – Dour High Arch May 17 '14 at 14:54
  • @DourHighArch del /F "\\?\D:\FileNameStartBeforeSpacesAndQuotes*" – leventov May 17 '14 at 14:57
0

If you are in a bash shell then you can use the rm command and start to type the name of the file and then use tab to autocomplete the filename. This should easily allow you to get at the escaped spaces or quotes.

|improve this answer|||||
  • 1
    1) It's Windows 2) The problem is much deeper – leventov May 17 '14 at 22:08

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.