Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

613.Batch file rename -- How to make a DOS batch file that can rename many swf files according to lists?

User: editor -- 2010-09-15          << 612  614 >>
Hits: 3185
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to make a DOS batch file that can rename many swf files according to lists?
Input Sample:
There are many files from a01.txt to a20.txt 
The content of a01.txt: 
name11 
name12 
name13 
name14 
... 
The content of a02.txt 
name21 
name22 
name23 
name24 
... 
Output Sample:
need to make a DOS batch file rename.bat with following contents: 
 
rename a01/01.swf a01/name11.swf 
rename a01/02.swf a01/name12.swf 
rename a01/03.swf a01/name13.swf 
... 
rename a02/01.swf a02/name21.swf 
rename a02/01.swf a02/name22.swf 
... 
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-h open replace window 
* set 'replace unit' to 'Line' 
* set 'replace with pattern' to: 
 
* change the ">" to ">> Append" to the left of the "output file" entry 
2. click 'Batch' button open 'Batch Runner' window 
* drag all files from "windows file browser" to 'Batch Runner' window 
* check option of 'Set output filename', and change the following entry to: 
 
3. click 'Batch Replace', the file my_rename.bat is generated as required.

Screenshot 1:  Replace_Window


Similar Examples:
Make a batch file to change name of all files  (57%)
How to batch rename mp3 files by adding artist name behind? (54%)
How to make a batch replacement according to a text mapping file? (54%)
How to split a file into many files according to first letter of each line? (53%)
How to rename files according to a given mapping list? (53%)
How to make multiple copies of a file and rename them from a list? (53%)
How to remove all the lines that do not contain any of words in a list? (53%)
How to batch rename image files by adding picture width and height? (53%)

Check Demo of Batch file rename
Keywords:
lists  dos batch  dos batc  dos ba  dos  append  acc  ppen  generate  calc  lists all filename batch  files swf  swf batch file  batch file lists  replace lists  batch file to rename files pattern  rename many files  windows rename from file