# Tag to Filename formatting string shows incorrect preview but renames correctly

**URL:** <https://community.mp3tag.de/t/tag-to-filename-formatting-string-shows-incorrect-preview-but-renames-correctly/41066>\
**Category:** Support\
**Created:** [March 13, 2018, 2:34pm UTC](https://community.mp3tag.de/t/tag-to-filename-formatting-string-shows-incorrect-preview-but-renames-correctly/41066 "2018-03-13T14:34:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![planalp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/59ef9b/32.png) [@planalp](https://community.mp3tag.de/u/planalp)\
**Post date:** [March 13, 2018, 2:34pm UTC](https://community.mp3tag.de/t/tag-to-filename-formatting-string-shows-incorrect-preview-but-renames-correctly/41066/1 "2018-03-13T14:34:22Z")

</div>

Gruß Gott,  
Have gerade Geld aufs Projekt spendiert, dazu ein Bug-Report:

This formatting string for Tag to Filename:

$replace($replace(%albumartistsort% **%album%** $num(%track%,2)-$num(%_total%,2)\_\_%title%,' ','_'),'/','-')

Shows the preview incorrectly but does the right thing.  
RP

---

<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:** [March 13, 2018, 3:41pm UTC](https://community.mp3tag.de/t/tag-to-filename-formatting-string-shows-incorrect-preview-but-renames-correctly/41066/2 "2018-03-13T15:41:02Z")

</div>

A preview shows  
`JohnnyAmbient'Diary.One102-00__Sky'never'die.mp3`  
and the resulting filename shows  
`JohnnyAmbient'Diary.One102-00__Sky'never'die.mp3`  
I can't see a difference.  
Could you supply an example which leads to the behaviour that you described?

---

<div class="post-metadata">

**Author:** ![planalp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/59ef9b/32.png) [@planalp](https://community.mp3tag.de/u/planalp)\
**Post date:** [March 13, 2018, 10:16pm UTC](https://community.mp3tag.de/t/tag-to-filename-formatting-string-shows-incorrect-preview-but-renames-correctly/41066/3 "2018-03-13T22:16:48Z")

</div>

Echt war es anders 3 Stunden her, aber jetzt tut richtig!

I don't know why it was doing something weird before.

We can close this one now...  
Roy

---

<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:** [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/tag-to-filename-formatting-string-shows-incorrect-preview-but-renames-correctly/41066/4 "2026-02-09T12:27:17Z")

</div>


