Fill up a word

Advanced Renamer forum
#1 : 03/05-12 15:06
Marco
Marco
Posts: 1
hi i want to know if there is a possibility to fill up words

i have a file-name 1234-87.jpg but the file needs to be

0012340000087.jpg

the 1234 must be 6 digit with 2 zero's leading
the 87 must always be 7 digits and the 87 must be at the end

warning! the example 87 could also be 100 or 2 so it has a variable length


03/05-12 15:06 - edited 03/05-12 15:07
#2 : 05/05-12 20:43
Kim Jensen
Kim Jensen
Administrator
Posts: 883
Reply to #1:
You can use the Renumber Method to add leading zeros to existing numbers. You will need to add it twice and configure it like this:

Number position: 1 (2 for the second method)
Change to: relative number
Number difference: 0
Zero padding: Manual
Number length: Set it to the length you want
Apply to: name

http://www.advancedrenamer.com/user_guide/metho d_renumber

If you want to remove the - from the file name you can use the Replace Method to replace it with an empty text string.

I hope this works for you.


05/05-12 20:43