Command: ; (semicolon)
';' marks the config.sys line as a comment. ';' has the same effect
as 'REM' in AUTOEXEC.BAT / FDAUTO.BAT
';' is a CONFIG.SYS / FDCONFIG.SYS command.
Syntax:
; [comment] OR:
REM [comment]
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:
';' and 'REM' provide the ability to place comments within the
configuration file. The text following the ';' or 'REM' until the end
of the line is reached is ignored. This may also be used to temporarily
disable loading a particular device or other option.
; and REM work both in CONFIG.SYS / FDCONFIG.SYS whereas in
AUTOEXEC.BAT / FDAUTO.BAT only REM works.
';' is a command internal to kernel.sys and needs no other file
in order to work.
Examples:
IN CONFIG.SYS / FDCONFIG.SYS:
REM DOS=HIGH,UMB WORKS, has the same effect!
;DOS=HIGH,UMB WORKS, has the same effect!
IN A BATCH FILE / AUTOEXEC.BAT:
REM DOS=HIGH,UMB WORKS!
; DOES NOT WORK !!!
See also:
! (exclamation mark)
? (question mark)
dos
autoexec.bat/fdauto.bat
batch file
config.sys/fdconfig.sys
rem
Copyright © 2008, updated 2022 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.