Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

842.Batch file rename -- How to remove some specified characters from multiple filenames?

User: editor -- 2011-08-26          << 841  843 >>
Hits: 389
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to remove some specified characters from multiple filenames? For example, I need to rename files by removing spaces, underscores from filenames.
Input Sample:
Files:
my file1.txt
my_file2.txt
...
Output Sample:
New Filenames:
myfile1.txt
myfile2.txt
...
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 and drop multiple files from Windows File Browser to "Batch Runner" window
3. check option of "set output filename", and change the following entry to:

4. check the newname preview at output file column, and click 'File Rename' button, done.

Note: here {replace,'[\s_]',''} means replace any characters of "space" or "_" with blank, you can add other characters by yourself, like comma: [\s_\,]

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to remove a string of characters from multiple filenames? (85%)
How to remove consecutive duplicate words in multiple files? (67%)
How to shuffle specified lines in multiple text files? (67%)
How to replace the second character of every line to 4 in multiple files? (67%)
How to add bold tag for some specified keywords in multiple html files? (66%)
How to remove the first 10 characters of each line in text file? (64%)
How to batch remove/delete the last 6 characters of many filenames? (64%)
How to remove everything after dash/underscore for multiple filenames? (63%)

Check Demo of Batch file rename
Keywords:
underscore  filenames  blank  spaces  names  space  comma  example  examp  characters  removing underscores filenames  removing underscores from filenames  rename with underscores  replace comma with blank  remove underscores from filenames  remove underscores from filenames rename  remove characters multiple filenames  blank space