ROM-DOS Internal Commands 4-59
REM (REMark)
Batch File, Internal Command
The REM command has two purposes: to allow comments in a batch or
CONFIG.SYS file, and to temporarily disable a command without
physically deleting the command from the file. See also the (;) command.
Syntax
REM [message]
Remarks
The REM command provides information but has no affect on the
execution of the batch file.
The comment may consist of any set of characters. You may also create
a blank line by omitting the
message
portion of the line.
REM can also be used to temporarily disable a command in a batch file or
CONFIG.SYS without having to delete the line from the file.
Examples
REM This batch file created by
REM Jane Doe
These lines may be added at any point in a batch file as user information
only.
DEVICE=HIMEM.SYS
DOS=HIGH
REM DEVICE=TESTDEV.SYS /P
Temporarily removes the DEVICE=TESTDEV.SYS statement from these
CONFIG.SYS instructions. This statement is not processed again until
REM is removed.