The script requires
ActivePerl. Its free, safe, easy, and non-invasive to install. Get the 32- or 64- bit installer for your version of Windows. Or you can use Cygwin tools.
This is a command line perl script. It runs via a Windows command shell (cmd.exe) as follows:
perl rename_from_titles.pl [-dv] path\to\Titles.txt
where the path to Titles.txt is replaced by the path to an album's folder where Titles.txt lives.
Use -d to see Debug output. No action will be performed.
Use -v to see Verbose output. Files will be renamed (unless -d), and the rename operation will show what it does.
Without options, the files will be renamed silently.
perl .\rename_from_titles.pl -v "Gary Moore\Blues For Jimi\titles.txt"
rename Gary Moore - Blues For Jimi - 01.mp3, 1 - Gary Moore û Purple Haze.mp3
rename Gary Moore - Blues For Jimi - 02.mp3, 2 - Gary Moore û Manic Depression.mp3
rename Gary Moore - Blues For Jimi - 03.mp3, 3 - Gary Moore û Foxy Lady.mp3
rename Gary Moore - Blues For Jimi - 04.mp3, 4 - Gary Moore û The Wind Cries Mary.mp3
rename Gary Moore - Blues For Jimi - 05.mp3, 5 - Gary Moore û I Don't Live Today.mp3
rename Gary Moore - Blues For Jimi - 06.mp3, 6 - Gary Moore û My Angel.mp3
rename Gary Moore - Blues For Jimi - 07.mp3, 7 - Gary Moore û Angel.mp3
rename Gary Moore - Blues For Jimi - 08.mp3, 8 - Gary Moore û Fire.mp3
rename Gary Moore - Blues For Jimi - 09.mp3, 9 - Gary Moore û Red House.mp3
rename Gary Moore - Blues For Jimi - 10.mp3, 10 - Gary Moore û Stone Free.mp3
rename Gary Moore - Blues For Jimi - 11.mp3, 11 - Gary Moore û Hey Joe.mp3
rename Gary Moore - Blues For Jimi - 12.mp3, 12 - Gary Moore û Voodoo Child (Slight Return).mp3
I've assumed mp3 files for now. If you have other file types, or mixed file types in a folder, let me know and I'll update to make it work.
Once the files are renamed, MC will automatically pickup the new names and correct the broken file links, provided you have auto-import enabled for the folder and Fix broken links is enabled (these would be the defaults). Once you see the new file paths in MC (look at the Filename column in a file list), you can now run Fill Properties from Filename with the appropriate template to grab the pieces from the file name. Your example would use the file template:
[track #] - [artist] – [name]
and folder template:
[artist]\[album]
Note that the second "dash" in your example is really not an ASCII dash, so watch for that and be sure the template shows the correct data being pulled.
See attached screenshot.