# Track Number Format in Filenames • Combined Format String?

**URL:** <https://community.mp3tag.de/t/track-number-format-in-filenames-combined-format-string/19336>\
**Category:** Support\
**Created:** [September 9, 2017, 6:01pm UTC](https://community.mp3tag.de/t/track-number-format-in-filenames-combined-format-string/19336 "2017-09-09T18:01:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ragtag](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ragtag/32/13146_2.png) [@ragtag](https://community.mp3tag.de/u/ragtag)\
**Post date:** [September 9, 2017, 6:01pm UTC](https://community.mp3tag.de/t/track-number-format-in-filenames-combined-format-string/19336/1 "2017-09-09T18:01:24Z")

</div>

I always renumber the Track Tag of albums-title to contain a leading zero. Once done, I apply variations of these two basic Tag-Filename Format String to rename the files:

%track%. %title% (single-disc albums)

OR

%discnumber%-%track%. %title% (multi-disc albums)

My question is this: How does one combine these two format strings into one action, or similar? At the moment, I apply first the one, and then the other Format String. Is there a shortcut, which can do all simultaneously?

Thank you.

---

<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:** [September 9, 2017, 6:20pm UTC](https://community.mp3tag.de/t/track-number-format-in-filenames-combined-format-string/19336/2 "2017-09-09T18:20:50Z")

</div>

> [@ragtag](#):
>
> ...%discnumber%-%track%. %title% (multi-disc albums)...

You could try

[%discnumber%-]%track%. %title% (multi-disc albums)

---

<div class="post-metadata">

**Author:** ![ragtag](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ragtag/32/13146_2.png) [@ragtag](https://community.mp3tag.de/u/ragtag)\
**Post date:** [September 9, 2017, 6:38pm UTC](https://community.mp3tag.de/t/track-number-format-in-filenames-combined-format-string/19336/3 "2017-09-09T18:38:32Z")

</div>

Thank you Ohrenkino, I am going to do it.

Just to learn: Does the square bracket around %discnumber% mean that it will only use the disc number if it is present in the disc number tag-- otherwise it will not and number as usual?

EDIT: OK, tried it and it worked perfectly- BIG THANKS!

---

<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/track-number-format-in-filenames-combined-format-string/19336/4 "2026-02-09T12:27:00Z")

</div>


