| User: editor -- 2010-04-23 << 485 487 >> |
| Hits: 3769 |
| 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 |