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: 421
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 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%)
How to batch rename files by a filename mapping list? (53%)
How to rename files according to a given mapping list? (53%)
How to batch rename last part of filenames to the strings from a file? (52%)

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