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-09-30 12:23
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to shut down under pure DOS? View 4,973 Replies 20
Floor 16 Posted 2008-02-05 15:52 ·  加拿大 Primus
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Originally posted by zidane1980 at 2008-2-5 01:18 PM:
At first glance, the LZ has never experienced the DOS era
Back then, people just powered off directly
They manually saved and exited the program before powering off..
Software-powered off is something that appeared after Win95
ps:
There is a parameter for smartdrv. After execution, it can write the data in the write cache back to the hard disk (if write cache is enabled)


What you said is correct. Back then, people just pressed the power button to power off. And there were no power supplies that supported soft power off at that time, so there was naturally no concept of soft power off. But now the situation has changed. Since the power supplies of new machines generally support soft power off, you can't directly power off by pressing the power button on a new computer now; you have to press it for 6 seconds. This time is better spent just powering off using a program. Anyway, most people who know DOS like to type keyboard commands. Also, clearing the disk cache isn't just as simple as SMARTDRV (SMARTDRV can use /C to clear it). There are others, like LBACACHE, QCACHE, etc. There are various disk caches, but it's easy to forget to manually clear them before powering off. It's better to have a soft power off program automatically clear them. It's definitely faster and more straightforward than first clearing the cache and then pressing the power button for 6 seconds. It's safe and convenient. Therefore, especially for new computers, even soft power off in DOS still has some value; otherwise, there wouldn't be soft power off programs in DOS (and I know there are quite a few).
Wengier - 新DOS时代

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

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

Floor 17 Posted 2008-02-05 18:25 ·  中国 上海 浦东新区 电信
新手上路
★
Credits 13
Posts 6
Joined 2008-02-04 17:45
18-year member
UID 110194
Gender Male
Status Offline
It's very simple. Just enter the command shutdown.
Floor 18 Posted 2008-02-08 13:44 ·  中国 福建 泉州 电信
新手上路
★
Credits 18
Posts 9
Joined 2008-02-08 01:48
18-year member
UID 110332
Gender Male
Status Offline
Originally posted by mikejie at 2008-2-5 06:25 PM:
It's very simple, just enter the command shutdown.

Parameters -s should be added.

shutdown -s
Floor 19 Posted 2008-02-11 02:45 ·  中国 广东 广州 黄埔区 电信
初级用户
★
Credits 32
Posts 14
Joined 2008-01-31 01:15
18-year member
UID 109868
Gender Male
Status Offline
Not bad~!!~! Haha! There are also many ways to shut down the computer~! Only now do I know!
Floor 20 Posted 2008-02-13 15:34 ·  中国 上海 鹏博士宽带
新手上路
★
Credits 9
Posts 5
Joined 2008-02-13 14:57
18-year member
UID 110568
Gender Male
Status Offline
Floor 21 Posted 2008-02-17 14:14 ·  中国 海南 海口 电信
新手上路
★
Credits 0
Posts 3
Joined 2007-10-25 03:39
18-year member
UID 100698
Gender Male
Status Offline
Just type "off" directly. ... I just learned how to shut down the computer
Forum Jump: