# Setting numbers before a filename

**URL:** <https://community.mp3tag.de/t/setting-numbers-before-a-filename/42018>\
**Category:** Support\
**Created:** [June 24, 2018, 11:31am UTC](https://community.mp3tag.de/t/setting-numbers-before-a-filename/42018 "2018-06-24T11:31:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronald-Zuid](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@Ronald-Zuid](https://community.mp3tag.de/u/Ronald-Zuid)\
**Post date:** [June 24, 2018, 11:31am UTC](https://community.mp3tag.de/t/setting-numbers-before-a-filename/42018/1 "2018-06-24T11:31:07Z")

</div>

Hallo is it possible to set a number and a "-" before a filename automatically? I am bussy all the time to set these manually, with the F2 function. For example:  
Child In Time must become 01-Child In Time  
Smoke On The Water must become 02-Smoke On The Water

Has everyone experience with this? Is It possible with MP3tag?

---

<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:** [June 24, 2018, 11:51am UTC](https://community.mp3tag.de/t/setting-numbers-before-a-filename/42018/2 "2018-06-24T11:51:57Z")

</div>

see e.g. here:

> [@How to put a random number in the title field?](https://community.mp3tag.de/t/how-to-put-a-random-number-in-the-title-field/17165/2):
>
> You could do one of the following. Load the files into MP3tag. Click on the top left column header. This arranges the files in a random order. Now you could rename the files with: Convert\>Tag-Filename %\_counter% \_ %\_filename% Or you rename them straight away with the Convert\>Tag-Filename function: $rand() \_ %\_filename% or even $num($rand(),5) \_ %\_filename%

---

<div class="post-metadata">

**Author:** ![Ronald-Zuid](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/8e8cbc/32.png) [@Ronald-Zuid](https://community.mp3tag.de/u/Ronald-Zuid)\
**Post date:** [June 25, 2018, 11:09am UTC](https://community.mp3tag.de/t/setting-numbers-before-a-filename/42018/3 "2018-06-25T11:09:40Z")

</div>

Thanks, many thanks for your solution. It saves me a lot of time. Stuppid that I didn't ask it soner. I'am 2 years busy, everyday, editing MP-3 files. Now it goes much faster.

---

<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/setting-numbers-before-a-filename/42018/4 "2026-02-09T12:27:29Z")

</div>


