REM records comments (remarks) in a batch file or CONFIG.SYS. REM is a BATCH-FILE / AUTOEXEC.BAT command.
REM [comment]
comment any comment you want to add to remember why you did
this or that; can also be a command, which shall not
be executed (maybe for test purposes).
FreeDOS ignores everything on a REM line. Use remarks to add explanatory notes to the config.sys, and to disable lines in the config.sys file so that they won't run. In CONFIG.SYS you can also use ";" at the beginning of the line. REM is a command internal to command.com and needs no other file in order to work. REM also exists as CONFIG.SYS / FDCONFIG.SYS command.
IN A .BAT FILE / AUTOEXEC.BAT:
REM Set the last drive letter available:
lastdrive=z
REM I don't want to use this driver any more:
REM DEVICE=FOO.SYS
autoexec.bat batch files config.sys fdconfig.sys rem config.sys
Please read this command's lsm file also. You will find the updated version (internet) here and the version described in this manual page here. The lsm file contains information about the name of the programmer, the download site, and some other command related information.
Copyright © 2003 Robert Platt, updated 2007 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.