Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

72.Batch file rename -- How to batch rename files by removing the first 3 characters of each file name?

User: editor -- 2008-05-08          << 71  73 >>
Hits: 7515
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


Similar Examples:
How to batch rename files by removing first 3 characters of filename? (94%)
How to batch rename files to the first 8 characters of the second line of file content? (77%)
How to batch rename files with the first line of file content as new file name? (71%)
How to batch rename files to the first date found in the files? (70%)
How to batch rename files by removing all the letters and keep the rest? (70%)
How to batch remove/delete the last 6 characters of many filenames? (68%)
How to rename files by removing the characters between '(' and ')'? (68%)
How to batch rename files by remove everything after specificed string? (67%)

Check Demo of Batch file rename
Keywords:
dos command  dos  command  first 3 char  directory  dir  title  comma  date  last  rename file by removing first 3 characters  rename file by removing the first 3 characters  rename files removing first 3 characters  rename batch files removing first 3 characters  rename files by removing the first 4 characters  rename files removing first characters  batch file for each directory output  rename file removing last