# Writing track numbers like 01 instead of 1?

**URL:** https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617
**Category:** General Discussion
**Created:** [March 18, 2007, 4:03am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617 "2007-03-18T04:03:19Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Nel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Nel](https://community.mp3tag.de/u/Nel)
#### Post date: [March 18, 2007, 4:03am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/1 "2007-03-18T04:03:19Z")

</div>

Hi all,

Firstly let me say that this is by far the best software I have ever used. Fast, useful and not bloated!

My only question is if it's possible to make track numbers like 01 instead of 1, when getting track names from Databases?

Thank you,  
Nel

---

<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: [March 18, 2007, 8:04am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/2 "2007-03-18T08:04:21Z")

</div>

Hi Nel,

you can create a new action

_Action type:_ **Format value**  
_Field:_ **TRACK**  
_Formatstring:_ **$num(%track%,2)**

to format the track numbers.

Kind regards,  
Florian

---

<div class="post-metadata">

### Author: ![Nel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Nel](https://community.mp3tag.de/u/Nel)
#### Post date: [March 18, 2007, 11:41pm UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/3 "2007-03-18T23:41:13Z")

</div>

Wow, is Florian of MP3Tag writing to me? I am flattered!

Thanks so much for your help! I will try to figure out how to do it.

Thanks again,  
Nel

I have added the action and it worked like a charm, thank you!

I wonder if it's possible to do this with actions:

If you have a song title like:

To The Faithful Departed Featuring Oasis

Is it possible to write it like:

To The Faithful Departed [Featuring Oasis]

Basically to put anything that starts with Featuring into brackets till the end of the title.

Hope that makes sense. 🙂

Thanks,  
Nel

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [March 19, 2007, 1:43pm UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/4 "2007-03-19T13:43:48Z")

</div>

Action #1:  
_Action type:_ **Replace with regular expression**  
_Field:_ **ARTIST**  
_Regular expression:_ **Featuring (.\*)$**  
_Replace matches with:_ **[Featuring $1]**

[] case-sensitive comparison

Of course, replace ARTIST by the field you want to modify.

---

<div class="post-metadata">

### Author: ![Nel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Nel](https://community.mp3tag.de/u/Nel)
#### Post date: [March 20, 2007, 8:37am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/5 "2007-03-20T08:37:02Z")

</div>

Thanks so much. This forum is great and people are so friendly.

You mean I should turn off case sensitive, right?

Is it also possible to change files names using Track numbers? As in Track #05 (in tag) -\> Track 05 (in filename)?

Lastly is there a way I can replace "And" with &? It might cause trouble if it only searches for "and", but I think " and " would be better. Does it matter if it's And or and?

Thanks so much again,  
Nel

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [March 21, 2007, 11:54am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/6 "2007-03-21T11:54:48Z")

</div>

> [@](#):
>
> You mean I should turn off case sensitive, right?

Correct.

> [@](#):
>
> Is it also possible to change files names using Track numbers? As in Track #05 (in tag) -\> Track 05 (in filename)?

You can have a new filename built by using the ![:mt_ttf:](https://community.mp3tag.de/uploads/default/original/1X/922db76db5d45b2e558d10f3d8c25fb8bc04fd27.png ":mt\_ttf:") Tag - Filename converter with a formatstring like **$num(%track%,2) %title%** for example.

> [@](#):
>
> Lastly is there a way I can replace "And" with &? It might cause trouble if it only searches for "and", but I think " and " would be better. Does it matter if it's And or and?

You can tell Mp3tag to replace whole words only:

Action #1:  
_Action type:_ **Replace**  
_Field:_ **TITLE**  
_Original:_ **and**  
_Replace with:_ **&**

[x] only as whole word

case-sensitive comparison

---

<div class="post-metadata">

### Author: ![Nel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Nel](https://community.mp3tag.de/u/Nel)
#### Post date: [April 1, 2007, 11:07pm UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/7 "2007-04-01T23:07:03Z")

</div>

> [@Sebastian Mares](#):
>
> Correct.  
> You can have a new filename built by using the ![:mt_ttf:](https://community.mp3tag.de/uploads/default/original/1X/922db76db5d45b2e558d10f3d8c25fb8bc04fd27.png ":mt\_ttf:") Tag - Filename converter with a formatstring like **$num(%track%,2) %title%** for example.  
> You can tell Mp3tag to replace whole words only:
> 
> Action #1:  
> _Action type:_ **Replace**  
> _Field:_ **TITLE**  
> _Original:_ **and**  
> _Replace with:_ **&**
> 
> [x] only as whole word
> 
> case-sensitive comparison

Thanks Sebastian! Very helpful.

Do you know where these settings are stored? I reinstalled windows but have the old mp3tag directory. Can I bring the actions I have added?

Thanks so much again,  
Nel

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [April 2, 2007, 4:18am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/8 "2007-04-02T04:18:05Z")

</div>

They are stored in "%APPDATA%\Mp3tag\data\actions". You can enter that path as-is in the Run-Window (Start --\> Run or WIN+R).

---

<div class="post-metadata">

### Author: ![Nel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Nel](https://community.mp3tag.de/u/Nel)
#### Post date: [April 2, 2007, 5:01am UTC](https://community.mp3tag.de/t/writing-track-numbers-like-01-instead-of-1/4617/9 "2007-04-02T05:01:07Z")

</div>

Thanks Sebastian! You rule! I wish all software would be this compact and powerful, ie not bloatware like Adobe products!

Thanks,  
Nel
