@ECHO OFF REM RUN as: > OPTIC Datafile ext REM Datafile must have extension .DAT but omit this from RUN line. REM Extension ext is appended to LIST.ext and PLOT.ext. REM (Old versions of LIST.ext and PLOT.ext are deleted. A good way REM to preserve and organize the output files is to progress ext REM through three-digit numbers, e.g., ext = 001, 002, 003, etc.) DEL LIST.%2 DEL PLOT.%2 OPT364.EXE %1.DAT LIST.%2 PLOT.%2 OPLOT364.EXE PLOT.%2