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: 4309
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 move the specified line to the end in multiple files? (72%)
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 "." and following strings from multiple filenames? (65%)
How to remove everything before a hyphen in multiple filenames? (64%)

Check Demo of Batch file rename
Keywords:
underscores  underscore  filenames  mer  spaces  blank  names  comma  space  example  removing underscores filenames  removing underscores from filenames  rename with underscores  remove underscores from multiple files  rename files replace spaces with underscores  remove underscores from multiple filenames  replace add space filename  remove underscores