asylu3
25-05-2004, 06:40 PM
I want to the name of these files to follow this pattern:
frog_01.gif--> gf_1_0.gif
frog_02.gif--> gf_1_1.gif
...
...
frog_15.gif--> gf_8_0.gif
frog_16.gif--> gf_8_1.gif
Then here is the sourcecode: BatchRen.zip (http://seri.kmutt.ac.th/cs02/citec/forum2/misc.php?action=downloadfile&FileID=81)
To use this program:
BatchRen [orinal_name] [target_name]
1. Goto Dos console in the same directory as BatchRen.exe .
2. Type "BatchRen frog_01.gif gf_".
3. You got it ;-)
Note: BatchRen works properly only for this case("xxxx_01.gif"), if you want it to work in other case please change the code yourself.
frog_01.gif--> gf_1_0.gif
frog_02.gif--> gf_1_1.gif
...
...
frog_15.gif--> gf_8_0.gif
frog_16.gif--> gf_8_1.gif
Then here is the sourcecode: BatchRen.zip (http://seri.kmutt.ac.th/cs02/citec/forum2/misc.php?action=downloadfile&FileID=81)
To use this program:
BatchRen [orinal_name] [target_name]
1. Goto Dos console in the same directory as BatchRen.exe .
2. Type "BatchRen frog_01.gif gf_".
3. You got it ;-)
Note: BatchRen works properly only for this case("xxxx_01.gif"), if you want it to work in other case please change the code yourself.