Leading Zeros with Incrementing Numbers Tag

Advanced Renamer forum
#1 : 10/05-12 19:15
Lonnie
Lonnie
Posts: 1
It would be great if the <Inc Nr:> tag was capable of specifying the number of leading zeros.

For example, here is a new name method that I often use:
<DirName:1> <Inc Nr:1:1>

It renames the files according to the directory name and increments a number. For consistency I want the files numbered starting with 001, 002, 003, etc. However, for directories that have less than 100 files, it numbers them 01, 02, 03, etc. I would like to be able to specify, something like this:
<DirName:1> <Inc Nr:1:1:3>
where the 3 indicates the minimum length of the numeric string, padded with zeros.


10/05-12 19:15
#2 : 10/05-12 20:29
Kim Jensen
Kim Jensen
Administrator
Posts: 883
Reply to #1:
Try to define your tag as <Inc Nr:001>. I think that should do the trick.


10/05-12 20:29
#3 : 30/05-14 09:06
The Beerslayer
The Beerslayer
Posts: 1
This is something I was looking to do also. Thanks for the answer!

Might I suggest that this information be added to the user guide and/or online documentation? This is basic functionality that I almost believed did not exist in this product.


30/05-14 09:06