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          << 485  487 >>
Hits: 456
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" on windows platform 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 following entry to:

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

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to change text file format with user specified rules? (61%)
How to change the number in each line to specified order in a text file? (60%)
How to create a text file including filenames in a folder with specified format? (58%)
How to count the number of words for many files and append result to each file? (58%)
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%)

Check Demo of Batch file rename
Keywords:
leading zeros  digits  123  less  aaa  filenames  adding  files that contain  names  digit  specified rename  how to change all numbers  rename files by adding  how to rename a file by adding a  adding filename  in filenames  how to rename many files  rename many files