Feed on Posts or Comments

Uncategorized The Plaid Cow on 18 Oct 2007 05:39 am

Try Deleting a Different File

I was trying to delete a file from a Windows network share at work when I got an interesting error:

Cannot delete file: The filename you specified is invalid or too long. Specify a different filename.

Perhaps I should try deleting a different file?

Or, if you’re actually having this error, and trying to delete the file, it is likely that the filename is exceeding the maximum path length (for some reason). Try moving the files up a directory, and then deleting them.

Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply