Workaround for > 256 chars file paths


#1

Hi there,

I like to name my mudsic files so that they're like this:

C:\[path to music files]\$validate(%artist%,_)\$validate(%album%,_)\$replace(%track%,/,-) - $validate(%title%,_)

The problem is, sometimes the total path length is more than 256 characters long, and Windows doesn't accept it, hence MP3Tag error messages. So I made the following change:

$left(C:\[path to music files]\$validate(%artist%,_)\$validate(%album%,_)\$replace(%track%,/,-) - $validate(%title%,_),255)

It works most of the time, but that will not if then length of C:[path to music files]$validate(%artist%,)$validate(%album%,)\ is more than 256 chars long, obviously.

Does anyone have an idea of a smart renaming formula ?

TIA

MLL