Command: ! (exclamation mark)
With "!" and "?" CONFIG.SYS / FDCONFIG.SYS can be made interactive.
CONFIG.SYS lines that begin with "!" will be processed
even when single stepping, see: F8.
CONFIG.SYS lines that begin with '?' will be queried:
The user will be asked for confirmation before a CONFIG.SYS
line that begins with '?' is run.
'!' is a CONFIG.SYS / FDCONFIG.SYS command.
Syntax:
! other config.sys command such as DEVICE=...
Options:
- none -
Comments:
Command lines in config.sys starting with '!' will be executed under
all circumstances.
'!' is a command internal to kernel.sys and needs no other file
in order to work.
Examples:
Example 1:
IN CONFIG.SYS / FDCONFIG.SYS:
COUNTRY=049,858,C:\FREEDOS\BIN\country.sys (German setting)
LASTDRIVE=Z
FILES?=20
DOS?=HIGH,UMB
BUFFERS?=30
DEVICE?=MyNetWorkDriver.sys
Example 2: (Menu in CONFIG.SYS / FDCONFIG.SYS with REM ; ! and ?)
!COUNTRY=049,858,C:\FREEDOS\BIN\country.sys (german setting)
!LASTDRIVE=Z
!BUFFERS=20 (!=will be executed under all circumstances)
!FILES=40 (!=will be executed under all circumstances)
!MENUCOLOR=7,0 (!=will be executed under all circumstances)
MENUDEFAULT=1,5
MENU 1 - Load FreeDOS with JEMM386 (no EMS, max RAM free)
MENU 2 - Load FreeDOS with JEMM386 (Expanded Memory)
MENU 3 - Load FreeDOS low with some drivers (Safe Mode)
MENU 4 - Load FreeDOS without drivers (Emergency Mode)
12?DOS=HIGH (will be processed when pressing 1/2)
12?DOS=UMB (will be processed when pressing 1/2)
12?DOSDATA=UMB (will be processed when pressing 1/2)
123?DEVICE=C:\FREEDOS\BIN\himemx.exe ( " " " 1/2/3)
1?DEVICE=C:\FREEDOS\BIN\jemm386.exe NOEMS X=TEST I=TEST I=B000-B7FF
NOVME NOINVLPG (will be processed when user presses 1)
2?DEVICE=C:\FREEDOS\BIN\jemm386.exe X=TEST I=TEST I=B000-B7FF NOVME
NOINVLPG (will be processed when user presses 2)
34?SHELL=C:\FREEDOS\BIN\command.com C:\FREEDOS\BIN /E:1024
/P=C:\FDAUTO.BAT (will be processed when pressing 3/4)
12?SHELLHIGH=C:\FREEDOS\BIN\command.com C:\FREEDOS\BIN /E:1024
/P=C:\FDAUTO.BAT (will be processed when pressing 1/2)
;1234?BREAK=OFF (set to REM, nothing happens)
REM 1234?DEVICE=C:\blahblah.sys (set to REM, nothing happens)
See also:
; (semicolon)
? (question mark)
break
config.sys/fdconfig.sys
country (COUNTRY NUMBERS)
country.sys (COUNTRY NUMBERS)
device/devicehigh
dos
dosdata
F8
menu
menucolor
menudefault
rem
shell/shellhigh
Copyright © 2008, updated 2022 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.