pad file name with zeros


Forum \ Advanced Renamer
Reply

#1 : 07/08-15 18:07
Paul Heinrich
Paul Heinrich
Posts: 1
I have a set of files with a fixed leading letter code (e.g "HICH") a number with 1 to 6 digits and then some trailing text. I'd like to pad out the number with leading zeros so that all numbers are six digits long.

For example HICH3451_a_h.jpg would become HICH003451_a_h.jpg and HICH1_D.jpg would become HICH000001_D.jpg



07/08-15 18:07
#2 : 14/12-16 15:23
roger
roger
Posts: 1
Reply to #1:

I was able to use the Renumber method to add the zero's with the following settings:

Number Position: 1
Change to: Relative to existing number
Number Difference: 0
Handle Negative Numbers: unchecked
Zero Padding: Manual
Number Length: 3
Apply to: Name


My files before:
1.pdf
2.pdf
3.pdf
20.pdf
30.pdf
100.pdf
200.pdf

My files After:
001.pdf
002.pdf
003.pdf
020.pdf
030.pdf
100.pdf
200.pdf


14/12-16 15:23