For instance
Fif exist zz%%4.ps DEL zz%%4.ps
Fif exist zz%%4.ppm DEL zz%%4.ppm
Fdvips -T 14in,14in -Ppdf -f %%1 -pp %%2 -o zz%%4.ps
Fgswin32c -sDEVICE=ppm -sOutputFile=zz%%4.ppm -q -dbatch -dNOPAUSE zz%%4.ps -c quit
Fmove zz%%4.ppm yz%%4.ppm
Fpnmcrop yz%%4.ppm > zz%%4.ppm
Fif exist %%3 DEL %%3
Fppmtogif -interlace -transparent 1,1,1 zz%%4.ppm > %%3