create multiple resized files with 1 click? - RealWorld forums

Log-in or register.

create multiple resized files with 1 click?

RezzZ
on November 16th 2010

Hi, got another question:
is it possible to create multiple files with one shortcut/bat file?

"\PhotoResize.exe" -1000 -T -Q85 -O -c<NAME>_XL.jpg
"\PhotoResize.exe" -600 -T -Q85 -O -c<NAME>_L.jpg
"\PhotoResize.exe" -300 -T -Q85 -O -c<NAME>_M.jpg
"\PhotoResize.exe" -300 -T -Q85 -O -c<NAME>_Generic.jpg
"\PhotoResize.exe" -126 -T -Q85 -O -c<NAME>_S.jpg

I got the following shortcuts but perhaps there's a way to make it 1?
I tried putting them in a bat file but that didn't work :-).

Vlasta
on November 16th 2010

It should be possible with a .bat file, but I did not try it myself. Did you forward the parameter to the tool with %1 ?

"\PhotoResize.exe" -1000 -T -Q85 -O "-c<NAME>_XL.jpg" %1
"\PhotoResize.exe" -600 -T -Q85 -O "-c<NAME>_L.jpg" %1
...

Maybe even use "%1"...

Hm, there is also a risk, that it will re-process the files created in first step in the second step. You may need to choose different source and destination folders.

Page views: 9585       Posts: 2      
Select background
Vista & Win 7 icons
I wish there were...