Try Deleting a Different File

October 18th, 2007 | Tags:

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.

No comments yet.
You must be logged in to post a comment.