Add incrementing number to a list of files

Advanced Renamer forum
#1 : 14/01-25 11:04
Jonathan Sadie
Posts: 1
I have a list of files in a folder which are sorted alphabetically/numerically.

I wish to add a number at the front of each filename, so that they sort numerically in the first instance.

The numbering should be:

01, 02, 03 ......... for a list of less than 100 files
001, 002, 003 ......... for a list of 100 - 999 files
0001, 0002, 0003 ......... for a list of 1000 - 9999 files
etc. etc.

So far I know how to add the same character(s) to some part of a filename, but I cannot work out how to number the list.

I'd be realy grateful for help on how to do this.
#2 : 14/01-25 13:11
Styb
Posts: 142
Reply to #1:
Hi Jonathan,
In the "Renaming" tab of the program settings, you need to enable the "Use zero padding in Inc Nr tags" option, this way the program will automatically add the necessary zeros based on the total number of files.
So, add the files to the program list and choose the "Add" method:

Add: <Inc Nr:1>_ (you can use an underscore or a space or any other character to separate the initial number from the rest of the filename)
At index: 1
Apply to: Name

See the following image
https://i.postimg.cc/gjJB2Z4p/img82.png
and read this user guide page: https://www.advancedrenamer.com/user_guide/v4/ta gs_default

Start the batch to get the renamed files.