Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

174.Batch file rename -- How to batch rename many directories all at once by adding a sequence number ahead?

User: editor -- 2008-06-04          << 173  175 >>
Hits: 3203
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to batch rename many directories all at once by adding a sequence number ahead?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. select menu 'File->Load->DOS command output'  
2. input working directory where your directories located  
3. in 'DOS command' window enter:  
 
4. click 'OK', all directories will be listed  
5. click ctrl-h open 'replace' dialog  
in 'Replace' page:  
* set replace unit to 'Line'  
* set search for pattern to:  
 
* set replace with pattern to:  
 
6. click 'Replace', and save the result to a.bat  
7. run a.bat, ok!  
Note: ${line_no} means the line number of each line, started by 1, user can also add other characters here instead of line number.
Download Script:  scripts/174.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to batch rename files by moving the leading numbers to the end? (62%)
How to batch rename mp3 files by adding artist name behind? (61%)
How to batch rename files by keeping only the numbers at the end? (60%)
How to batch rename files by adding parenthesis for each number? (60%)
How to batch rename files by removing all trailing numbers? (59%)
How to batch rename files by appending the number of lines at the end? (59%)
How to batch rename files by multiplying each number in filename by 2? (58%)
How to batch rename files from month name to month number? (57%)

Check Demo of Batch file rename
Keywords:
rename many directories  directories  dos command  dos  tea  command  adding  ies  user  sequence number  batch file user input  add sequence number to each line batch  batch file for each directory output  rename directories  batch all directories  batch file for each file in a directory  batch add a number to each line  batch file rename by adding a number