4-40 ROM-DOS Internal Commands
Examples
IF ERRORLEVEL 15 GOTO EXIT
Will GOTO the :EXIT label if the ERRORLEVEL was equal to or greater
than 15.
IF %1 == CONFIG.SYS PRINT %1
Prints the file stored as the %1 parameter only if its exact name is
CONFIG.SYS.
IF NOT EXIST OLD COPY CONFIG.SYS OLD
Copies CONFIG.SYS to OLD if a file named OLD does not exist.