It incomplete, but...
I'm doing two things here, formatting the comment and then moving the file.
It may be best to say what I'm aiming for.
My directory's names are:
JAS 04 - artist - album
JAS 204 - artist - album
JAS 205 - artist - album
I want to copy JAS 04 to the comment field adding "Jasmine Records No. ", but without the space "Jasmine Records No. JAS04".
Format value "COMMENT" Jasmine Records No. $left(%_directory%,6)
Then a replace "JAS " with "JAS".
For the move the below works, but I have to moving the rest of the contents of the folder manually.
W:_JASMINE$left(%_directory%,3)~$right(%comment%,3) = %artist% - %album% $if($neql(%_extension%,mp3),{FLAC},{@ 320})%track% = %artist% - %title%
I've read that this may be not a one ling job, so the directory structure I'm after is
W:_JASMINE\JAS~04 = Duke Ellington - Duke meets coleman {FLAC}\the files
My workings so far....
$left(%_directory%,3)~$right(%comment%,3) = %artist% - %album%
$if($neql(%_extension%,mp3),{FLAC},{@ 320})
$left(%_directory%,3)~$right(%comment%,3) = %artist% - %album% $if($neql(%_extension%,mp3),{FLAC},{@ 320})%track% = %artist% - %title%
EDIT
Done this a TAG to Filename.