Q. How do I automate my
conversions by command line or a batch file? A.
You can find the Command-Line-Converting Tool: CMDCT.exe in your GraphicsConverterPro's
folder. It's easy to use for command line conversion
or batch file conversion. 1)Single Conversion:
CMDCT [-O] File1, File2 File1: the import file,
i.e. c:\windows\abc.gif or d:\myfolder\123.tif It may be in following formats:
BMP, DIB, EMF, GIF, ICB, ICO, JPG, JPEG, PBM, PCD, PCX, PGM, PNG, PPM, PSD, PSP,
RLE, SGI, TGA, TIF, TIFF, VDA, VST, WBMP and WMF. File2:
the export file, i.e. c:\myfiles\xyz.jpg or e:\pic\987.wmf It may be in following
formats: BMP, GIF, JPG, PNG ,WBMP, EMF, TGA, TIF, WMF and ICO. -O
:If this option is placed, CMDCT will automatically overwrite the existed file
which has a same name as File2. 2)Batch Conversion:
CMDCT [-O] sPath\*.*, tPath\*.tFormat CMDCT [-O] sPath\*.sFormat, tPath\*.tFormat For
example: a) CMDCT c:\mypath1\*.*, d:\mypath2\*.bmp All picture files in
mypath1 will be converted to bmp files and saved into mypath2. b) CMDCT c:\mypath1\*.jpg,
d:\mypath2\*.emf All JPG files in mypath1 will be converted to EMF files and
saved into mypath2. Notes: The sFormat may be
in following formats: BMP, DIB, EMF, GIF, ICB, ICO, JPG, JPEG, PBM, PCD, PCX,
PGM, PNG, PPM, PSD, PSP, RLE, SGI, TGA, TIF, TIFF, VDA, VST, WBMP and WMF.
The tFormat may be in following formats: BMP, GIF, JPG, PNG ,WBMP, EMF, TGA, TIF,
WMF and ICO. 3)Conversion by a batch file:
There are four steps to automate the conversions by a batch file: Step 1:
Create a batch file(.bat); Step 2: Enter your conversion commands(a
command per line); For example: CMDCT File11, File21 CMDCT File12,
File22 CMDCT -o File13, File23 CMDCT -o File14, File24 ... Step
3: Save the batch file; Step 4: Run the batch file to start your conversions.
|