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