How to launch the program from BATCH-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:
First variant:
- Launch Notepad.
- Copy the following into text file*:
- Save text file with extension .bat.
- Launch conversion by double click on this file.
ICPCL.exe -convertto tiff -source "C:\Source\*.*" -dest "C:\out" -oper Resize size:200 100
Second variant illustrates how to do the similar conversions with different
source and destination folders.
Second variant:
- Launch Notepad.
- Copy the following into text file*:
- Save text file as 'ImageConverterPlus.bat'.
- Press 'Start" button, then select 'Run...' and press it.
- Enter command line*:
- Press 'OK' button.
ICPCL.exe -convertto tiff -source "%1" -dest "%2" -oper Resize size:200 100
ImageConverterPlus.bat c:\images\*.* c:\out
In this example variable %1 will take on value 'c:\images\*.*' and variable
%2 - 'd:\out'.