China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

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!

中国DOS联盟论坛
The time now is 2026-06-30 06:12
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » What command can be written in the CONFIG file to pause? View 894 Replies 5
Original Poster Posted 2006-04-22 19:33 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
As titled.

A question for everyone.
Floor 2 Posted 2006-04-22 21:45 ·  中国 上海 闵行区 电信
中级用户
★★
论坛第一菜鸟
Credits 361
Posts 166
Joined 2006-04-15 13:23
20-year member
UID 53870
Status Offline
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~
Diskette Operating System
Floor 3 Posted 2006-04-22 22:16 ·  中国 山西 运城 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
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.
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 4 Posted 2006-04-23 09:21 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Thanks to willsort for the reply
Floor 5 Posted 2006-04-23 10:21 ·  中国 上海 浦东新区 电信
中级用户
★★
论坛第一菜鸟
Credits 361
Posts 166
Joined 2006-04-15 13:23
20-year member
UID 53870
Status Offline
Learned something, so io.sys actually has such a function!
Diskette Operating System
Floor 6 Posted 2006-04-24 06:05 ·  中国 安徽 宿州 泗县 电信
银牌会员
★★★
Credits 1,339
Posts 595
Joined 2004-05-26 00:00
22-year member
UID 25306
Gender Male
From 安徽 宿州
Status Offline
Learning
Forum Jump: