# New File MTE for export data

**URL:** https://community.mp3tag.de/t/new-file-mte-for-export-data/69482
**Category:** Support
**Created:** [August 20, 2025, 5:37pm UTC](https://community.mp3tag.de/t/new-file-mte-for-export-data/69482 "2025-08-20T17:37:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MrMix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@MrMix](https://community.mp3tag.de/u/MrMix)
#### Post date: [August 20, 2025, 5:37pm UTC](https://community.mp3tag.de/t/new-file-mte-for-export-data/69482/1 "2025-08-20T17:37:40Z")

</div>

Hello,

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

```auto
$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, ...)](http://www.mp3tag.de/en/)

What am I doing wrong ?

Thank you for your help

MM

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 20, 2025, 5:48pm UTC](https://community.mp3tag.de/t/new-file-mte-for-export-data/69482/2 "2025-08-20T17:48:17Z")

</div>

> [@MrMix](#):
>
> What am I doing wrong ?

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

```auto
$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/

```

---

<div class="post-metadata">

### Author: ![MrMix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f4b2a3/32.png) [@MrMix](https://community.mp3tag.de/u/MrMix)
#### Post date: [August 21, 2025, 6:39am UTC](https://community.mp3tag.de/t/new-file-mte-for-export-data/69482/3 "2025-08-21T06:39:33Z")

</div>

Got it !

Thank you

MM

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 21, 2025, 1:45pm UTC](https://community.mp3tag.de/t/new-file-mte-for-export-data/69482/4 "2025-08-21T13:45:01Z")

</div>

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](https://community.mp3tag.de/uploads/default/optimized/3X/4/2/4218b537852a3fd95fc8fd03ec73cc56d570642d_2_690x40.png)  
_(However, this does not apply to incorrectly spelled variable names such as `folderpath` instead of `_folderpath`)_

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [September 20, 2025, 1:45pm UTC](https://community.mp3tag.de/t/new-file-mte-for-export-data/69482/5 "2025-09-20T13:45:35Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
