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: 633
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 a string of characters from multiple filenames? (72%)
How to remove everything between a pair of parenthesis in multiple files? (69%)
How to remove everything after the first comma in each line in a text file? (66%)
How to remove some specified characters from multiple filenames? (65%)
How to remove/delete first column for multiple files? (64%)
How to remove consecutive duplicate words in multiple files? (63%)
How to remove leading spaces and tabs in each line in multiple text files? (60%)
How to remove everything that appears before the "->" in each line? (59%)

Check Demo of Batch file rename
Keywords:
dash  underscore  filenames  names  after  every  very  batch file rename  file rename  rena  remove after  rename remove  rename files remove 1  remove from filename  filename remove  output remove  rename multiple files  windows rename from file