Can CONFIG.SYS include a selection function similar to CHOICE in batch files? I'm not referring to the boot selection menu!
Thanks!
Thanks!
32位才是DOS未来的希望
个人网志:http://sololand.moe
个人网志:http://sololand.moe
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
submenu=memtest, Memory Test Mode
menuitem=clear, Clear Booting
menuitem=cdrom, Load CD-ROM
menuitem=normal, Normal Booting
menucolor=14,1
menudefault=normal,5
menuitem=nohimem, Booting without HIMEM.SYS
menuitem=no386, Booting without EMM386.EXE
menuitem=noems, Booting with EMM386.EXE /NOEMS
menuitem=ram, Booting with EMM386.EXE /RAM
DOS=HIGH,UMB
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DOS=HIGH,UMB
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\EMM386.EXE NOEMS
DOS=HIGH,UMB
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\EMM386.EXE RAM
DOS=HIGH,UMB
The CONFIG.SYS file can also include the following special characters:
; Indicates that the line is a comment line and will not be executed. This character should be placed at the
beginning of the line.
(You can also use the REM command to insert comments).
? Specifies that before MS-DOS executes the current command, it first asks the user to confirm. ? should be placed before the equal sign. For example, if
the command DOS=HIGH is changed to DOS?=HIGH, then confirmation will be required before that command is executed.
If confirmation is needed before executing the command DEVICEHIGH /L:1,7280=MYFILE.SYS, then this command can be
changed to DEVICEHIGH? /L:1,7280=MYFILE.SYS.