中国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-13 01:10
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » How to shut down under pure DOS?
Printable Version  4,538 / 20
Floor16 Wengier Posted 2008-02-05 15:52
系统支持 Posts 10,521 Credits 27,736
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).
Floor17 mikejie Posted 2008-02-05 18:25
新手上路 Posts 6 Credits 13
It's very simple. Just enter the command shutdown.
Floor18 Makubes Posted 2008-02-08 13:44
新手上路 Posts 9 Credits 18
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
Floor19 donilan Posted 2008-02-11 02:45
初级用户 Posts 14 Credits 32
Not bad~!!~! Haha! There are also many ways to shut down the computer~! Only now do I know!
Floor20 thomashuang Posted 2008-02-13 15:34
新手上路 Posts 5 Credits 9
Floor21 zqaaaa Posted 2008-02-17 14:14
新手上路 Posts 3 Credits 0
Just type "off" directly. ... I just learned how to shut down the computer
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023