Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

73.Batch file rename -- How to rename file by sequence id with specified pre-defined order?

User: editor -- 2008-05-09          << 72  74 >>
Hits: 3574
Type: Batch file rename   
Search all Batch file rename examples
Description:
I have a lot of files I want to rename them to 1.pdf, 2.pdf, 3.pdf ... with specified order, the order of these files is saved in another text file.
Input Sample:
15-de2563de 
17-fe24efe3 
14-e213dedf 
14-c23ef323 
15-d546d35e 
Output Sample:
rename "15-de2563de" "newname.1" 
rename "17-fe24efe3" "newname.2" 
rename "14-e213dedf" "newname.3" 
rename "14-c23ef323" "newname.4" 
rename "15-d546d35e" "newname.5"
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Steps: 
1. ctrl-o to open your order file 
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' to: 
 
3. Click "Replace" button, and save to run.bat 
 
Run the run.bat at DOS prompt.
Download Script:  scripts/73.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to move and rename files from multiple folder with specified order? (67%)
How to rename many jpg files with sequence id and record it? (65%)
How to rename files by getting the first letter for specified words? (61%)
How to batch rename files by changing specified part separated by dash? (61%)
How to rename files by adding specified strings at specified position? (60%)
How to find files with specified encoding and convert to utf8? (58%)
How to batch rename files to the specified pattern found in file content? (58%)
How to batch rename files by remove everything after specificed string? (58%)

Check Demo of Batch file rename
Keywords:
pdf  sequence id  dos  define  fine  non  order  sequence  seq  specified  search file with text pattern and rename  order rename  text search and rename  rename files replace text  specified rename  replace text rename  rename replace text  rename with text