Need help w/ Export file

Thanks for your replies.

I deleted the ";" at the end of the header line in my custom export file and that did the trick. Thanks! But i'm still baffled because the sample csv.mte has the ";" at the end of the header line.

1: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Export.semicolon.'%_directory%'.csv',UTF-16)

Ok I substituted

($getEnv('USERPROFILE')'\Desktop\Mp3tag.Export.semicolon.'%_directory%'.csv',UTF-16)for 
(csv,utf-16)but that just resulted in a csv file full of garbage.

Let me clarify - what i'm hoping to find is the correct syntax for a variable that will cause MP3Tag to use the MP3 folder name as the name of the csv file.

laffin_boy