Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

79.Batch file rename -- How to rename files according to a given mapping list?

User: editor -- 2008-05-11          << 78  81 >>
Hits: 598
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to rename files according to a given mapping list?
Input Sample:
ts053001.pdf name1
ts053002.pdf name2
ts053003.pdf name3
ts053004.pdf name4
ts053005.pdf name5
ts053006.pdf name6
ts053007.pdf name7
Output Sample:
rename "ts053001.pdf" "name1"
rename "ts053002.pdf" "name2"
rename "ts053003.pdf" "name3"
rename "ts053004.pdf" "name4"
rename "ts053005.pdf" "name5"
rename "ts053006.pdf" "name6"
rename "ts053007.pdf" "name7"
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1.press ctrl-o to open the mapping file     
2.press ctrl-h to open replace dialog, set as follows:     
In 'Replace' page:  
1)Set 'Replace Unit' to 'Line'   
2)Set 'search for pattern': 

3)Set 'replace with pattern': 

3. click 'Replace', and save file to run.bat.
4. run 'run.bat' at DOS prompt, ok!
Download Script:  scripts/79.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to batch rename files by a filename mapping list? (75%)
How to make a batch replacement according to a text mapping file? (63%)
How to batch rename files by replacing semicolon with a single dot? (59%)
How to move files to new folders according to beginning letters of filename? (58%)
How to batch rename files by generating a random word that in the list? (58%)
How to batch rename files by removing all the letters and keep the rest? (57%)
How to batch rename files by adding timestamp of current time? (57%)
How to rename all the files by adding the file size after filename? (56%)

Check Demo of Batch file rename
Keywords:
given  mapping list  dos  mapping file  mapping  acc  map  how to rename files  how to rename  rename files  rename files mapping  file rename mapping file  rename search replace  rename files list  rename list  search rename  replace and rename  replace rename