in this case, i want to recompress a PNG image and rename it as well. the current command line is this.
CODE
"C:\Program Files\IrfanView\i_view32.exe" %1 /convert=%path%\%random%.png
there is only 1 problem with this one. let's say the filename is "sshot-1.png". my desire is to name the recompressed one "sshot-1-compressed.png" but the problem is, i don't know how to do that so i've resorted to using random instead.
so the question is, does anyone know how to do that?
edit:fixed the code tags. i can't believe i put /quote instead of /code