User: editor -- 2008-05-08 << 71 73 >> |
Hits: 7745 |
Type: Batch file rename |
Search all Batch file rename examples |
Description: |
How to batch rename files by removing the first 3 characters of each file name? |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
======================= For version 2.1 and later 1. open menu 'Tools->Batch Runner' 2. click 'Pick files' select multiplue files 3. sort these files by name or date or others, by clicking different column titles. 4. change 'set output filename' entry from ${FILENAME} to: and click 'Apply' at right. 5. click 'Rename', finish. ======================= For version 2.0 and earlier: 1. Open File->Open->DOS Command output menu, set: DOS Command=>dir /b Set Working directory to your file directory Click OK, your files will be listed 2. press ctrl-h to open 'Replace' dialog 1)set 'replace unit' to 'Line' 2)set 'search for pattern' as: 3)set 'replace with pattern' as: 3. click "replace", and save the file as a.bat. 4. run a.bat file at DOS prompt. Note: chars($match,4,-1) means from char 4 to last |
Download Script: scripts/72.rst.zip |
Screenshot 1: Batch_Runner_Window |