Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

486.Batch file rename -- How to change the number part of many filenames by adding some specified value?

User: editor -- 2010-04-23
Hits: 93
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to change the number part of many filenames by adding some specified value?
I have some files that contain numbers at middle of filename like: file_1_aaa.jpg, file_2_aaa.jpg, file_3_aaa.jpg, how to add all the number in the middle by a specified number like 123, and add leading zeros if less then 4 digits.
Input Sample:
file_1_aaa.jpg
file_2_bbb.jpg
file_3_ccc.jpg
Output Sample:
file_0124_aaa.jpg
file_0125_bbb.jpg
file_0126_ccc.jpg
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. open 'Tools->Batch Runner' window
2. drag files from Windows File Browser to 'Batch Runner' window
3. check 'Set output filename' option, entry change the entry followed to:

4. check the preview filename in 'Output File' column, and click 'File Rename' button, done!

Similar Examples:
How to change text file format with user specified rules? (61%)
How to change all numbers in a text file to 2 decimial places? (57%)
How to change the number to the corresponding letter base on mapping table? (57%)
How to change all numbers in a text file to the comma separated numbers? (57%)
How to search a subset of xml filenames and rename them? (55%)
How to update many htmls by adding some paragraphs at the specific position? (53%)
How to replace all the numbers in a text file to the square value? (53%)
How to batch change a lot of xml files, adding all <ID> by 1? (53%)

Check Demo of Batch file rename