FreeDOS help system (hhstndrd 1.0.8 en)[_cmdrem]

Command: rem

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 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

See also:

autoexec.bat batch files config.sys fdconfig.sys rem config.sys ------------------------------------------------------------------------------ Copyright (C) 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.