@echo off set TMPDIR=g:/ rem ^^^ this is where gcc's temp files go set GO32TMP=g:/ rem ^^^ this is where your paging file goes - if not set, the rem variables TMP and TEMP are checked in that order set 387=NO set go32=emu c:/tex/emu387 c:\tex\dvilj4 -v %1 %2 %3 %4 rem c:\tex\dvilj4 -eprn -v -ac:\tex\fonts\canon %1 %2 %3 %4 rem ^^^ in case you have a printer :-) set TMPDIR= set GO32TMP= set 387= set go32=