Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1249.Batch file rename -- How to batch rename files by removing unwanted parts?

User: HJ WYLIE -- 2014-09-12          << 1248  1250 >>
Hits: 1876
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


Similar Examples:
How to batch rename files by repositioning numbers? (76%)
How to batch rename files by removing everything after last "."? (76%)
How to batch rename files by removing all the letters and keep the rest? (76%)
How to batch rename files by removing all trailing numbers? (73%)
How to batch rename files by removing first 3 characters of filename? (70%)
How to batch rename files by remove everything after specificed string? (69%)
How to batch rename files by replacing all spaces with underscore? (67%)
How to batch rename files by generating a random word that in the list? (67%)

Check Demo of Batch file rename
Keywords:
pdf  pdf file  500  seperate  yyyy  first word  before  bef  befor  after  remove first word batch filename  batch rename remove first characters  rename file batch remove first 3 characters  batch file remove first 3 characters of  batch rename files remove first characters  rename batch remove first characters  batch file rename files remove first characters  batch name remove first characters