中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-18 03:47
47,814 topics / 349,907 posts / today 4 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » What command can be written in the CONFIG file to pause?
Printable Version  945 / 5
Floor1 martin325 Posted 2006-04-22 19:33
银牌会员 Posts 603 Credits 1,582
As titled.

A question for everyone.
Floor2 xjmxjm1234 Posted 2006-04-22 21:45
中级用户 Posts 166 Credits 361
Doesn't seem like there is one. When config.sys is running, command.com hasn't been loaded yet, which means internal commands can't be used;
you can only use commands in io.sys or external commands;
there doesn't seem to be one in io.sys, and no external command for this has been developed yet;
if you really want to pause, you can only make a menu (like the Win98 boot disk).
I really don't know why you want to pause, the point is not very big! After all, config.sys is for setting the system environment, and everyone wants to do it in one go~
Floor3 willsort Posted 2006-04-22 22:16
元老会员 Posts 1,512 Credits 4,432
Re martin325:

To pause before executing all memory configuration statements, you need to use a boot menu; the menudefault item can be used to set the pause time.

To pause before executing memory configuration statements such as device/devicehigh, you can add a question mark after the command. For details, please refer to the following material quoted from the PDOS6.22 help document.


Special characters in the CONFIG.SYS file

The CONFIG.SYS file can also include the following special characters:

; Indicates that this 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 executing the current command, MS-DOS asks the user
for confirmation first. The ? should be added before the equal sign. For example, if
the command DOS=HIGH is changed to DOS?=HIGH, then before executing that command,
confirmation is required.
If confirmation is needed before executing the command DEVICEHIGH /L:1,7280=MYFILE.SYS,
this command can be changed to DEVICEHIGH? /L:1,7280=MYFILE.SYS.

Skipping CONFIG.SYS and AUTOEXEC.BAT commands

If the system has problems and you suspect they may be caused by commands in the CONFIG.SYS file,
you may want to skip some or all commands in CONFIG.SYS.

To skip all commands in CONFIG.SYS and AUTOEXEC.BAT, when the system starts and the screen shows
"Starting MS-DOS...(Starting MS-DOS)", immediately press the F5 key.

To skip individual commands in CONFIG.SYS and AUTOEXEC.BAT, press the F8 key. MS-DOS asks
the user for confirmation before executing each command. To execute all remaining startup commands, press the Esc key; to skip all remaining commands, press the F5 key.

To disable this function, add the command <SWITCHES /N> to CONFIG.SYS.
Floor4 martin325 Posted 2006-04-23 09:21
银牌会员 Posts 603 Credits 1,582
Thanks to willsort for the reply
Floor5 xjmxjm1234 Posted 2006-04-23 10:21
中级用户 Posts 166 Credits 361
Learned something, so io.sys actually has such a function!
Floor6 chujiafu Posted 2006-04-24 06:05
银牌会员 Posts 595 Credits 1,339 From 安徽 宿州
Learning
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023