# Batch Re-numbering Tracks With Auto Numbering Wizard For Multi Disc Albums

**URL:** https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372
**Category:** Support
**Created:** [September 9, 2019, 8:27pm UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372 "2019-09-09T20:27:38Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![yopalien](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/e5b9ba/32.png) [@yopalien](https://community.mp3tag.de/u/yopalien)
#### Post date: [September 9, 2019, 8:27pm UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/1 "2019-09-09T20:27:38Z")

</div>

I'm trying to take a large number of albums with 2+ discs that are currently arranged in folders like this:

artist  
...album  
......disc 1  
......disc 2  
......disc 3

I want to take all the tracks and re-number them for disc 1 through 3 in correct order (say each disc has 10 tracks, I want track numbers 01-30) and then to automatically move the files to the album folder (i'd be left with empty "disc 1/2/3/etc" folders).

They're all correctly tagged with the DISCNUMBER and TRACK tags, so I think it shouldn't be a huge issue. Thanks for any help.

---

<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 10, 2019, 5:01am UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/2 "2019-09-10T05:01:28Z")

</div>

Could you describe what you have done so far and which functions of the track numbering wizard are not self-explanatory enough?  
Otherwise I wouldn't know where to start any further explanation.

---

<div class="post-metadata">

### Author: ![yopalien](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/e5b9ba/32.png) [@yopalien](https://community.mp3tag.de/u/yopalien)
#### Post date: [September 10, 2019, 9:20am UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/3 "2019-09-10T09:20:42Z")

</div>

Oh, I understand the track numbering wizard. I was just wondering if there was a way to automate it for a large number of albums/folders.

---

<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 10, 2019, 9:25am UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/4 "2019-09-10T09:25:53Z")

</div>

I think it works only for one disc set at a time as the trigger of the folder change is already used.  
But then again - who knows. If you have some albums with several discs, you could try it for 2 albums and report back.

---

<div class="post-metadata">

### Author: ![autom](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/c6cbf5/32.png) [@autom](https://community.mp3tag.de/u/autom)
#### Post date: [February 9, 2020, 11:24am UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/5 "2020-02-09T11:24:49Z")

</div>

Since i've got pretty much the same problem as yopalien, i was wondering if you found some kind of solution for this meanwhile?

Is there any way to start the auto-numbering-wizard as kind of an action (part/function in an action group) automatically?

thanks in advance!

---

<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: [February 9, 2020, 11:29am UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/6 "2020-02-09T11:29:36Z")

</div>

The functions of the track numbering wizard are not available for actions.  
The only way to create a sequence of numbers is to use the variable %\_counter%.  
There is no way to reset %\_counter% while executing an action on one batch of files.

---

<div class="post-metadata">

### Author: ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)
#### Post date: [February 12, 2020, 7:29am UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/7 "2020-02-12T07:29:07Z")

</div>

> [@yopalien](#):
>
> I want to take all the tracks and re-number them for disc 1 through 3 in correct order (say each disc has 10 tracks, I want track numbers 01-30) and then to automatically move the files to the album folder (i'd be left with empty "disc 1/2/3/etc" folders).

With internal MP3Tag rename (and retag) actions, this would only be possible if your target track numbers were 101–110, 201–210 and 301–310 instead of 01–30, because there is no way to get the total number of tracks in the previous disc (which I assume is not a constant value).

However, one could generate a batch file (`.bat`) with an export script, wherein loops and temporary variables are available, which would then handle the rename and move operation.  
Its lines would look something like this:

```bat
@move "artist\album\disc 2\04 title.mp3" "artist\album\14 title.mp3"

```

---

<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: [February 12, 2020, 3:38pm UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/8 "2020-02-12T15:38:44Z")

</div>

If a continuous sequence of number is required, then %\_counter% will do exactly that.  
It is not possible to reset %\_counter% during one run and it is not possible to detect a trigger like a directory change.

It is not necessary to use external utilities to rename files or folders.  
Here is a howto on that topic:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/2):
>
> How to rename files based on tags? Renaming files, creating folders and complete directory structures from tags can be done by using the [:mt\_ttf:] Converter \> Tag - Filename with a format string. A format string is used to describe the structure of the desired filename. Besides using normal placeholders (such as %artist%, %title%, ...) and arbitrary text (e.g., Music) it also allows for separating folders with the backslash \ character. Here is an example that renames the file based on the t…

---

<div class="post-metadata">

### Author: ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)
#### Post date: [February 12, 2020, 7:29pm UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/9 "2020-02-12T19:29:28Z")

</div>

My point was that you can get fancier at export with `$get(x)` and `put(x, y)` being available.

---

<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:28pm UTC](https://community.mp3tag.de/t/batch-re-numbering-tracks-with-auto-numbering-wizard-for-multi-disc-albums/46372/10 "2026-02-09T12:28:14Z")

</div>


