Page 1 of 1

Filenames with a number

PostPosted: Wed Jun 01, 2011 10:32 pm
by enheyday
Hi,

All I want to do is to name a bunch of JPEG files using bacth file to automate the process. I want to add numbers to the filenames using batch file. How can I accomplish this? What would be the complete command that will allow me to add numbers to the images and to automate the process.

Thank you kindly and please do help!

Regards,

Ehab :shock:

BRC Numbering

PostPosted: Sat Oct 19, 2013 4:12 pm
by truth
BRC numbering is spec'd as: /AutoNumber:Start:Increment:Mode:Separator:Base:Pad:
You can omit start, separator, & pad inbetween the colons, acceptable values below:

Start = 1st-char to begin numbering (0 by default)
Incre = Increment
Mode = P|S|B (Prefix/Suffix/Both)
Sepa = Text to separate filename from number (spaces must be quoted)
Base = 2-38 (NumberSystem, 10=Decimal, 16=Hex, etc)
............ 37/38 reserved for AlphaCharsOnly (37=Caps, 38=lowercase)
............ 37/38 both require Start=27 for full pad-support
Pad = Min#DigitsUsed (0's prefixed if needed)

An example (without the required /execute):
brc32 /pattern:*.jpg /AutoNumber:1:1:S:--:10:3:
ExA.jpg -> ExA--001.jpg
ExB.jpg -> ExB--002.jpg