# \[X\] Converter "Tag - Filename" track number wrong format

**URL:** <https://community.mp3tag.de/t/x-converter-tag-filename-track-number-wrong-format/18608>\
**Category:** No Bugs\
**Created:** [January 13, 2017, 9:12am UTC](https://community.mp3tag.de/t/x-converter-tag-filename-track-number-wrong-format/18608 "2017-01-13T09:12:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [January 13, 2017, 9:16am UTC](https://community.mp3tag.de/t/x-converter-tag-filename-track-number-wrong-format/18608/2 "2017-01-13T09:16:42Z")

</div>

If you only want the track number use as  
format string: $num(%track%,2)\_%title%

Edit: Some further explanation:

Using only %track% would actually lead to 01/09 ... if the / would not be an illegal character for filenames. So that is cut out und you get 0109.

The $num() function transforms the string 01/09 into a number which means it stops at the first non-numeric character, the /.  
The 2 in $num(%track%,2) sets the padding.

---

_[View the full topic](https://community.mp3tag.de/t/x-converter-tag-filename-track-number-wrong-format/18608)._
