FreeDOS help system (hhstndrd 1.0.8 en)[_cnfrem]

Command: rem

REM records comments (remarks) in a batch file or in CONFIG.SYS / FDCONFIG.SYS. ';' has the same effect as 'REM'.


REM [comment] ; [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 (REM) 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 kernel.sys and needs no other file in order to work. REM also exists as AUTOEXEC.BAT/BATCH/COMMAND.COM command.


IN CONFIG.SYS / FDCONFIG.SYS: REM DOS=HIGH,UMB has the same effect! ;DOS=HIGH,UMB has the same effect!

See also:

; autoexec.bat batch files config.sys fdconfig.sys rem ------------------------------------------------------------------------------ Copyright (C) 2003 Robert Platt, updated 2008 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.