Avoiding filename length errors?

When tagging classical music I often come up against errors which I believe are something to do with long filenames.

Often I'll run an action group that transplants the Track No. & Title to the file name.

Is there a way I can add a action to that action group to restrict the length of the filename by cutting off any excess & just adding a "..." to the end of the filename?


You may want to have a look at this thread on a similar problem:
Help with smart truncating of long filenames

There is no restriction to the length of the filename but to the length of the whole path including the filename. (256 characters)

So maybe you should have a look at your path to the location of the filename.
Since windows XP I avoided a very long pathlength in not storing my mp3s in the windows standard-folder for music (C:\Documents and Settings\Sigrun\My Documents\My Music). This would already waste about 60 characters till reaching your personal extension of the path i.e.
\Dave Dee, Dozy, Beaky, Mick & Tich\If Music Be the Food of Love... Prepare for Indigestion\11 - Dave, Dee, Dozy, Beakym Mick & Tich - Hair on My Chinny-Chin-Chin (Huff 'N' Puff).mp3)
The example represents a personal folder structure and file-naming of "\%artist%\%album%\%track% - %artist% - %title%".

Would you really like to have cut the filename to maybe "11 - Dave, Dee, Beaky, Mick ..."

I think my example makes clear that such conflicts need to be avoided manually and not automatic in shortening only the filename. You need to have a close look on the length of your complete path.

To do this:

  • Move your mp3s to a short path (i.e. E:\MP3s)
  • define a column with the name of "Path-Length" and the value of $len(%_filename_ext%%_folderpath%), so that you always have a problematic path-lenth in view.

But still, there can be and issuse when burning copies to discs?

Depending software / setings used for burning?

There are a lot of filesystem in this world. So there are a lot of different limits and for optical mediums it depend which kind of optical medium and which file-system you choose. (ISO 9660, Joliet, UDF)
Look yourself: