Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

941.Batch file rename -- How to batch rename files by changing specified part separated by dash?

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


Similar Examples:
How to batch rename files to the specified pattern found in file content? (68%)
How to batch rename files by removing first 3 characters of filename? (66%)
How to batch rename files by removing unwanted parts? (65%)
How to batch replace files with specified format in each line? (65%)
How to rename files by adding specified strings at specified position? (65%)
How to batch rename files by adding parenthesis for each number? (64%)
How to batch rename files by removing the first 3 characters of each file name? (64%)
How to batch rename files by replacing semicolon with a single dot? (63%)

Check Demo of Batch file rename
Keywords:
zip  asic  dash  separate  code  digit  dig  keep  before  bef  change a lot of html files  zip html  rename multiple files dash  before dash  windows batch file dash  batch rename separated  rename dash  number of words of multiple files