Command: rem (config.sys / fdconfig.sys)

  REM records comments (remarks) both in a BATCH-FILE or in an
  AUTOEXEC.BAT / FDAUTO.BAT or an CONFIG.SYS /FDCONFIG.SYS.

Syntax:

  REM [comment]
  ; [comment] (differences to REM!)

Options:

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

Comments:

  FreeDOS ignores everything on a REM line.
  Use REM (remarks) to add explanatory notes to the CONFIG.SYS /
  FDCONFIG.SYS or in AUTOEXEC.BAT / FDAUTO.BAT or to disable lines
  there so that they won't run. This is very helpful for testing.
  While CONFIG.SYS / FDCONFIG.SYS supports both ";" and "REM" for
  commenting out, in a BATCH FILE or in AUTOEXEC.BAT / FDAUTO.BAT
  only "REM" works.
  REM (config.sys) is a command internal to kernel.sys and needs
  no other file in order to work. REM also exists as AUTOEXEC.BAT /
  FDAUTO.BAT command.

Examples:

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

  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
    ;         DOES NOT WORK IN A BAT / AUTOEXEC.BAT!

See also:

  ; (semicolon)
  autoexec.bat/fdauto.bat
  batch files
  command.com/freecom
  config.sys/fdconfig.sys
  lastdrive
  menu
  menucolor
  menudefault
  rem (batch/autoexec/fdauto)

  Copyright © 2003 Robert Platt, updated 2007 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.