@echo off if "%3"=="" goto USAGE gs386 @t:/ps_view/gj.par -sDEVICE=%3 -sOutputFile=%2 %1 %4 %5 %6 %7 %8 %9 quit.ps goto DONE :USAGE echo Ghostscript batch for generating bitmap files: echo %1 -- input file echo %2 -- output file echo %3 -- output device (i.e. pcxmono, pcx256, tiff24nc) echo %4... -- others params (i.e. -r### -- output resolution) :DONE