New File MTE for export data

Hello,

I’ve just create a new MTE file for exporting some meta fields. This is the code:

$filename(csv,utf-8)Title;Artist;Album;Path;MusicBrainz;DiscoGs;
$loop(%_filename_ext%)%title%;%artist%;%album%;folderpath%;%musicbrainz_albumid%;%DISCOGS_RELEASE_ID%;
$loopend()build on %_date% with %_app% - the universal Tag editor - http://www.mp3tag.de/en/

After selecting the rows I want to export and clicking on my selection I just get this:

Title;Artist;Album;Path;MusicBrainz;DiscoGs;
%title%;%artist%;%album%;folderpath%;%musicbrainz_albumid%;%DISCOGS_RELEASE_ID%;
%title%;%artist%;%album%;folderpath%;%musicbrainz_albumid%;%DISCOGS_RELEASE_ID%;
%title%;%artist%;%album%;folderpath%;%musicbrainz_albumid%;%DISCOGS_RELEASE_ID%;
%title%;%artist%;%album%;folderpath%;%musicbrainz_albumid%;%DISCOGS_RELEASE_ID%;
build on 20.08.2025 with Mp3tag v3.31 - the universal Tag editor - Mp3tag - the universal Tag Editor (ID3v2, MP4, OGG, FLAC, ...)

What am I doing wrong ?

Thank you for your help

MM

Some variables are not quite what they should be (e.g. missing %)
Try:

$filename(csv,utf-8)Title;Artist;Album;Path;MusicBrainz;DiscoGs;
$loop(%_filename_ext%)%title%;%artist%;%album%;%_folderpath%;%musicbrainz_albumid%;%DISCOGS_RELEASE_ID%;
$loopend()build on %_date% with %_app% - the universal Tag editor - http://www.mp3tag.de/en/

Got it !

Thank you

MM

Just a quick note:
If you use a text editor like Notepad++ and change the highlighting syntax to "Batch", you can immediately see such "typos":
image
(However, this does not apply to incorrectly spelled variable names such as folderpath instead of _folderpath)