@echo off xcopy ..\XPL\COM\LF.OBJ . >TMP xcopy ..\XPL\COM\FF.OBJ . >>TMP for %%A in (*.SRC) do ..\XPL\COM\XPL %%A >>tmp ..\LINK\COM\LINK PRINT >>tmp del COM\*.OBJ >>tmp move *.OBJ COM >>tmp del COM\PRINT.OLD >>tmp ren COM\PRINT.COM PRINT.OLD >>tmp move *.COM COM >>tmp edit tmp