This question already has an answer here:

I am unable to delete files from my computer.Whenever I try to delete it, the following message appears : "THE FILE NAME YOU SPECIFIED IS NOT VALID OR TOO LONG". Is there any other method to delete that file other than booting into Linux Live Disc and mounting the Windows drive and deleting it through Linux?

marked as duplicate by Bob, bwDraco, Scott, and31415, magicandre1981 Aug 24 '14 at 6:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


eeeh .... booting with a WinPE live USB ??? Not to get facetious here ... But yes that's the quickest solution. The problem is that the system just doesn't recognize the filename.

Orrrrr .... Maybe you could use the DOS filename??? Ye oilde 8.3 format, you know?


***del Really~1.exe*** 

in a dosbox, or type

***cmd /k del Really~1.exe***

in the Runbox, if the name of your file is "Really Long ass filename.exe"

If that's not the name, then get the properties of that file from its context menu.

Uther than those two i got nothing. I got a feeling you already deleted it, so we'll never know if I was brilliant or not. ;)

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