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-08-13 00:14
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Command Prompt only and SAFE MODE COMMAND… View 1,172 Replies 6
Original Poster Posted 2003-05-28 00:00 ·  中国 山东 潍坊 联通
中级用户
★★
Credits 396
Posts 67
Joined 2002-12-03 00:00
23-year member
UID 390
Gender Male
Status Offline
People keep saying the difference is that Command Prompt only runs config.sys and autoexec.bat!

My config.sys and autoexec.bat under drive C are both empty, so by that logic Command Prompt only and SAFE MODE COMMAND PROMPT ONLY should run the same, right? But no!!!

Under Command Prompt only, typing "win" can enter Windows, but under SAFE MODE COMMAND PROMPT ONLY, typing "win" gives "HIMEM.SYS is missing.Make sure that the file is in your windows directory"

Doesn't that mean the config.sys and autoexec.bat in the root directory of drive C???????????? Are there config.sys and autoexec.bat somewhere else too???????????? Or is all that talk about Command Prompt only and SAFE MODE COMMAND PROMPT ONLY just nonsense!!!
Floor 2 Posted 2003-05-29 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Since that's the case, I'll explain it in detail.

In MS-DOS 7.x, there is a DOS=AUTO or DOS=NOAUTO option in CONFIG.SYS. Among them, DOS=AUTO automatically changes FILES to FILESHIGH, BUFFERS to BUFFERSHIGH, and so on. Also, when HIMEM.SYS, DBLBUFF.SYS, and IFSHLP.SYS are not loaded in CONFIG.SYS, it loads them automatically. If DOS=NOAUTO is set, then the above steps are not performed.

When "Command Prompt Only" is selected, besides executing the contents already present in CONFIG.SYS and AUTOEXEC.BAT, since the default value is DOS=AUTO, even if both CONFIG.SYS and AUTOEXEC.BAT are empty, because of DOS=AUTO the system will still automatically load files such as HIMEM.SYS, IFSHLP.SYS, DBLBUFF.SYS, and so on.

But when "Safe Mode Command Prompt Only" is selected, the contents in CONFIG.SYS and AUTOEXEC.BAT are all skipped, and since the default value is DOS=NOAUTO, the system will not automatically load these programs either, which means HIMEM.SYS, IFSHLP.SYS, and so on are all skipped too. So naturally when you run the "WIN" command, it will show something like "HIMEM.SYS is missing."

Understand now?
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-05-29 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
wengier is really amazing. Hehe...
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 4 Posted 2003-05-29 00:00 ·  中国 山东 潍坊 联通
中级用户
★★
Credits 396
Posts 67
Joined 2002-12-03 00:00
23-year member
UID 390
Gender Male
Status Offline
Got it!!! After hearing your explanation, even my sleep is sweeter!!!
Floor 5 Posted 2003-08-21 00:00 ·  中国 广东 广州 电信
中级用户
Credits 386
Posts 48
Joined 2003-06-29 00:00
23-year member
UID 6106
Gender Male
Status Offline
Hehe, with such a detailed explanation from the moderator, even newbies like us can understand it and benefit a lot
Floor 6 Posted 2003-08-22 00:00 ·  中国 福建 福州 电信
元老会员
★★★
农民
Credits 2,903
Posts 991
Joined 2003-07-23 00:00
23-year member
UID 7391
Gender Male
From 福建省
Status Offline
So that means "Safe Mode Command Prompt Only" is the same as pressing "Shift+F5" at the startup menu to enter pure DOS?
艰难奋长戟,万古用一夫

中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
Floor 7 Posted 2005-01-03 00:00 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Forum Jump: