# Convert Tag - Filename

**URL:** https://community.mp3tag.de/t/convert-tag-filename/2074
**Category:** Support
**Created:** [June 25, 2005, 6:27pm UTC](https://community.mp3tag.de/t/convert-tag-filename/2074 "2005-06-25T18:27:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Eddict](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/d07c76/32.png) [@Eddict](https://community.mp3tag.de/u/Eddict)
#### Post date: [June 25, 2005, 6:27pm UTC](https://community.mp3tag.de/t/convert-tag-filename/2074/1 "2005-06-25T18:27:12Z")

</div>

not sure if this if this can be called a bug...

i always tag tracknumbers in the 0x/0n format (save total count and leading zeros).  
but if i want to convert from tag to filename and use a formatstring like '%track% - %title%' (without the quotes) the preview shows:  
07/12 - song.mp3  
but i can never save that file(name), because of the slash as an invalid character.

wouldn't it be more logical to only show the 'real' tracknumber (07) here, instead of number+count (07/12) ?

or is there another way in the formatstring to only use the first 2 characters from the %track% variable?

regards, Eddict

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 25, 2005, 7:47pm UTC](https://community.mp3tag.de/t/convert-tag-filename/2074/2 "2005-06-25T19:47:12Z")

</div>

Just use $num(%track%,2)

---

<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:19pm UTC](https://community.mp3tag.de/t/convert-tag-filename/2074/3 "2026-02-09T12:19:24Z")

</div>


