User: editor -- 2010-03-17 << 449 451 >> |
Hits: 3386 |
Type: Batch file rename |
Search all Batch file rename examples |
Description: |
How to rename files by removing characters enclosed by '(' and ')'? |
Input Sample: |
file1(320x240).jpg file2(640x480)(256).jpg ... |
Output Sample: |
file1.jpg file2.jpg |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open 'Tools->Batch Runner' window 2. drag files from windows file browser to 'Batch Runner' window 3. check option of 'Set output filename', and modify the following entry to: 4. check output file column for preview, and click 'File Rename', done! Note: ${FILENAME}{replace,'\(.*?\)',''} will find all characters that matched by regular expression \(.*?\), and replace it with blank. |
Screenshot 1: Batch_Runner_Window |