Command: rem

  REM records comments (remarks) in a batch file or CONFIG.SYS.
  REM is a BATCH-FILE / AUTOEXEC.BAT command.

Syntax:

  REM [comment]

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

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

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

Comments:

  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.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

Examples:

  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

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  autoexec.bat
  batch files
  config.sys
  fdconfig.sys
  rem config.sys

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

File:

  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.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  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.