User: vlad -- 2012-04-28 << 940 942 >> |
Hits: 3890 |
Type: Batch file rename |
Search all Batch file rename examples |
Description: |
I have a lot of html files that have 5 digit number at the end I want to take all the words that are before that number and change them to lets say newword-90001. basically keep the zip codes but change all the words that are before it they are all separated by the dash some have 3 words some have 5 etc. |
Input Sample: |
aaa-bbb-ccc-90001.html 111-222-333-444-90002.html |
Output Sample: |
aaa-bbb-newword-90001.html 111-222-333-newword-90002.html |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Batch Runner" menu 2. drag multiple files from windows file browser to "batch runner" window 3. check option of "set output filename", change the following entry to: 4. check filename preview at 'output file' column, and click "file rename" button. |
Screenshot 1: Batch_Runner_Window |