| User: HJ WYLIE -- 2014-09-12 << 1248 1250 >> |
| Hits: 4628 |
| Type: Batch file rename |
| Search all Batch file rename examples |
| Description: |
| . I have 1500 files name like below . Need to change file name as shown below . Before AL(state of Alabama), there are 3-6 characters in front . Also after the MMDDYYYY, there are 12-20 characters . I guess, I can rename one by one but if you have trick, I would appreciate . These are all PDF files Thanks a million !! |
| Input Sample: |
| 40833_AL0082210_103_02-05-2014_FPER_HAJ_NA 40833_AL0082210_103_12-20-2013_FPER_HAJ_NA XXX_AL0081337_093_09-27-2012_FPER_MFC_NA 8763_AL0053708_079_09-27-2012_FPER_MFC_NA 11_AL0065331_093_04-24-2014_FPER_HAJ_TERMINATION |
| Output Sample: |
| AL0082210-103-02-05-2014 AL0082210-103-12-20-2013 AL0081337-093-09-27-2012 AL0053708-079-09-27-2012 AL0065331-093-04-24-2014 |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| The solution is to remove the first word and last 3 words from filename, the words are seperated by '_' 1. open "Tools->Batch Runner" menu 2. drag multiple files to "Batch Runner" menu 3. check option of "set output filename", and change the following entry to: 4. check the filename preview at the output file column, and click 'file rename', done. |
Screenshot 1: Batch_Runner_Window |