How to launch the program from BAT-file? |
|
Launching the program from BATCH file may be very useful when you need to make similar conversions with variable parameters.
Below we offer you two variants of using BATCH file:
C:\PROGRA~1\fcoder\2jpeg\2JPEG.exe s="C:\Source\*.*" d="D:\out" -q75 -w200 -h100 -prop
Second variant illustrates how to do the similar conversions with different source and destination folders.
C:\PROGRA~1\fcoder\2jpeg\2JPEG.exe s="%1" d="%2" -q75 -w200 -h100 -prop
2JPEG.bat c:\images\*.* d:\out
In this example variable %1 will take on value 'c:\images\*.*' and variable %2 - 'd:\out'.
* This example works the same way with 2GIF, 2TIFF, 2Bitmap, 2TGA, 2PNG and 2WBMP.