Filename -> Tag Won't Run

I am using version 2.35 and have loaded a bunch of files (~765) and have set up a custom format string, but the ok button is not active. When I go to filename -> tag everything else works (preview, cancel, help), but no the "ok". Here is my string:

%genre%%artist%%year% - %album% (%comment%) %track% - %title%

Any ideas?

It's because the format string doesn't match the schema of your filenames.

Using %genre%%artist%%year% here is useless, because Mp3tag needs at least one character between the different fields to seperate them.

I see, it took away my / for sub directories. Duh, I should have noticed that.

Ok, here is what I have:

f:\temp\unformatted\tag\genre\artist\year - album (comments)\nn - title

here is the string after i re-added the \

%genre%\%artist%\%year% - %album% (%comment%) %track% - %title%

Do I need to be more specific with the path? i.e. f:\temp\unformatted\tag\%genre%%artist%%year% - %album% (%comment%) %track% - %title%

Shouldn't your format string be:

%genre%\%artist%\%year% - %album% (%comment%)\%track% - %title%

Correctomundo. Sometimes it is the simplest things. I set up that way in tools/options, but when I went to filename ->tag it removed my . Wierd, works now. Thanks.

One more fix needed. For albums that don't have a comment, it doesn't add tags for album and yar. Is there a method to do an if statement? For example, if (%comment%), . . ., ....) I put stuff like remaster, disc 1, etc. as a comment, but not all disks have comments. Suggestions?

You can create an action and use the if-statement like this:
$if(x,y,z)
if x is true (or exists) y is done otherwise z.

Thanks for all of the help guys. One more issue. Since sometimes I had two items in parenthesis {(remaster) (disc 1)} I had to change my string a bit. I made the comments (remaster, mfsl, etc.) now {}. Anyhow, with this string:

$if(\%genre%\%artist%\%year% - %album% {%comment%}\%track% - %title%,%genre%\%artist%\%year% - %album% {%comment%}\%track% - %title%,%genre%\%artist%\%year% - %album%\%track% - %title%

everything works great except i get unformatted plus the artist name in the artist section (unformatted Punk Floyd). Where is my error? Every other tag worked great.

$if() functions and scripting is not possible in Convert > Filename - Tag

One soultion is that you use the converter two times:

First time this string:
%genre%\%artist%\%year% - %album%\%track% - %title%

and then again on the same files this one:
%genre%\%artist%\%year% - %album% {%comment%}\%track% - %title%