Possible bug in A-Z numbering

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Possible bug in A-Z numbering

Postby endrix » Tue Feb 06, 2007 9:48 pm

BRU Version 2.5.0.0 BETA

Trying to rename 676 files with the new A-Z numbering I noticed that the numbering is wrong.

I wanted the files named like AA, AB .. ZY, ZZ

The 26th file name becomes AZ, but the 27th file becomes AA, instead of BA.
So the last file is YZ instead of ZZ

Numbering parameters are:
Start 1
Incr. 1
Pad 2
Break 0

After setting Start=27 the numbering is correct.
endrix
 
Posts: 2
Joined: Tue Feb 06, 2007 8:50 pm

Postby Admin » Tue Feb 06, 2007 10:02 pm

Hi,

A-Z numbering has been there for a while. The padding, when dealing with letters, is nothing more than to pad with an "A". It's pretty much the same as padding with 0 when dealing with numbers.

To achieve what you want, you are correct in starting at 27.


Jim
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm

Postby endrix » Wed Feb 07, 2007 12:15 am

I called it a possible bug, because it could have been a feature :-)

Anyway, it's strange to have the same filename (in this case AA) for the 1st and the 27th item, AB for the 2nd and 28th, and so on up to AZ for 26th and 52th, and then different filenames.
endrix
 
Posts: 2
Joined: Tue Feb 06, 2007 8:50 pm

Postby Admin » Wed Feb 07, 2007 9:32 am

There's not really any other way to do it though.

If you start at 1 and pad with three you get AAA then AAB then AAC. When you get to AAZ the next is AAA.

But the breakdown of this is (AA)A, (AA)B, (AA)C, (AA)Z, (A)AA, (A)AB.


It's exactly the same logic as happens with numbers, but obviously with numbers you are padding with 0, which has no "value", but A has a "value".

If I changed it to pad with a hyphen or something then you would see where I'm coming from.



Jim
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support