Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

865.Batch file rename -- How to remove everything after dash/underscore for multiple filenames?

User: editor -- 2011-10-03          << 864  866 >>
Hits: 4909
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to remove everything after dash/underscore for multiple filenames?
Input Sample:
file1-020.gif 
file2-022.gif 
file3-024.gif 
...
Output Sample:
file1.gif 
file2.gif 
file3.gif 
...
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", and change the following entry to: 
 
4. click 'File rename', done!

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to remove everything before a hyphen in multiple filenames? (77%)
How to remove a string of characters from multiple filenames? (72%)
How to remove everything after specified strings in text files? (69%)
How to remove everything between a pair of parenthesis in multiple files? (69%)
How to remove everything before first space in filename? (68%)
How to remove everything after the first comma in each line in a text file? (66%)
How to remove first number in each line for multiple files? (65%)
How to remove some specified characters from multiple filenames? (65%)

Check Demo of Batch file rename
Keywords:
everything after  remove everything after  underscore  dash  remove everything  filenames  names  after  every  very  filename remove everything after  rename remove everything after  remove everything after file  remove filenames  remove after  rename remove  rename files remove 1  rename file remove