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-14 05:38
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » What should be entered at the DOS prompt to shut down, restart, or enter WIN98? View 1,680 Replies 10
Original Poster Posted 2005-05-11 00:00 ·  中国 广东 广州 广东金万邦科技投资有限公司(新一代数据中心)IDC机房(BGP)
初级用户
Credits 112
Posts 3
Joined 2005-05-11 00:00
21-year member
UID 38740
Gender Male
Status Offline
What can be entered at the DOS prompt to shut down the computer, restart it, or enter WIN98?

After booting into the DOS prompt using a WIN98 CD or a WIN98 boot disk (can we say that we have entered DOS? )

What can be entered at the DOS prompt to shut down the computer?

What can be entered at the DOS prompt to restart the computer?

What can be entered at the DOS prompt to enter WIN98?

最好的输入法“二笔”。
最好还是 极点二笔
汉字输入法论坛 www.srf.cn
下载 http://qseb.27h.com/
Floor 2 Posted 2005-05-13 00:00 ·  中国 广东 佛山 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Shutting down from the command line requires third-party software. You can find it from boot disks like those from Wengier. There is a RESTART in the WIN98 boot disk that can be used to restart, and it can also implement third-party software. Entering the WIN command at the DOS prompt can start WIN98. Just boot your computer, select the 5th item for DOS mode, and then try the WIN command.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2005-05-13 00:00 ·  中国 广东 广州 天河区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
There is a program called shutdown.com on Wengier's MSDOS 7.1 boot disk. Running shutdown s will shut down the computer, and running shutdown r will restart it.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 4 Posted 2005-05-18 00:00 ·  中国 广东 汕头 电信
银牌会员
★★★
Credits 1,451
Posts 446
Joined 2002-10-20 00:00
23-year member
UID 29
Gender Male
Status Offline
To install Windows 98, to shut down in DOS without using third-party software. win /z
Floor 5 Posted 2005-05-18 00:00 ·  中国 广东 广州 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Supplement to the above:
(1) WIN /Z -- Prompt to press any key, then shut down
(2) WIN /W -- Prompt to press any key, then restart
(3) WIN /M -- Restart directly
Note: The /Z parameter does not immediately shut down, but requires pressing any key to continue. To shut down directly, you can cooperate with the ECHO command to automatically press the key, such as ECHO .|WIN /Z. In this way, the WIN command can also be comparable to SHUTDOWN.COM of the Super DOS Boot Disk. The above commands cannot be run in the DOS window of Win9x.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 6 Posted 2005-05-24 00:00 ·  中国 广东 汕头 电信
银牌会员
★★★
Credits 1,451
Posts 446
Joined 2002-10-20 00:00
23-year member
UID 29
Gender Male
Status Offline
The following is the statement of JonePeng on May 18, 2005, 18:51:47:

Supplement to the above:
(1) WIN /Z -- Prompt to press any key, then shut down
(2) WIN /W -- Prompt to press any key, then restart
(3) WIN /M -- Restart directly
Note: The /Z parameter does not shut down immediately, but requires pressing any key to continue. To shut down directly, you can use the ECHO command to automatically press the key, such as ECHO .|WIN /Z. In this way, the WIN command can also be comparable to SHUTDOWN.COM of the Super DOS Boot Disk. The above commands cannot be run in the DOS window of Win9x.


It seems that the above person has a thorough understanding. I wonder if the shutdown module of Win98 can be extracted separately? I am using an ASRock motherboard. I have tried shutdown software under DOS but none can shut down. Only the win.com of Win98 can shut down. But now I don't have Win98 installed. So, if the shutdown module of win.com can be extracted, please let me know.
Floor 7 Posted 2005-05-24 00:00 ·  中国 广东 广州 荔湾区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
I don't know if the motherboard and power supply upstairs support soft shutdown. The shutdown command can generally make the mainboard with an ATX power supply power off.
Regarding extracting the shutdown module of Win.com, this can only be done by disassembly, and you can refer to this post: http://dos.e-stone.cn/dosbbs/dispbbs.asp?boardID=6&ID=15322&page=1.
In fact, you don't need to install Win98. You can just extract win.com from the installation files of the Win98 installation disk.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Floor 8 Posted 2005-05-29 00:00 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
```basic
'shutdown.bas
'Use qb /l or qbx /l
re$ = SPACE$(&H18)
FOR i% = 1 TO &H18
READ a$
h$ = CHR$(VAL("&H" + a$))
MID$(re$, i%, 1) = h$
NEXT i%
duan% = VARSEG(re$)
offe% = SADD(re$)
DEF SEG = duan%
CALL Absolute(offe%)
END
DATA B8, 1, 53, BB ,0, 0, CD, 15 ,B8, 7, 53, BB, 1, 0, B9, 3, 0, CD, 15, B8, 0, 4C, CD, 21


restart.bas:
out &H64,&HFE
```
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Floor 9 Posted 2005-05-29 00:00 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
win98.bas
shell"win"
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Floor 10 Posted 2005-06-12 00:00 ·  中国 浙江 杭州 电信
初级用户
Credits 102
Posts 1
Joined 2005-06-11 00:00
21-year member
UID 39574
Gender Male
Status Offline
You can enter C:\WINDOWS\SYSTEM32 and then run shutdown -s to shut down the computer, run shutdown -a to cancel the shutdown. There are also some other parameters, you can go and try.
Floor 11 Posted 2005-06-12 00:00 ·  中国 广东 广州 教育网
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
What you mentioned above is only applicable to NT - based systems.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Forum Jump: