User: editor -- 2011-08-26 << 841 843 >> |
Hits: 5794 |
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 |