中国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-26 01:22
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » How to shut down directly when not in pure DOS?
Printable Version  742 / 7
Floor1 axin Posted 2004-01-07 00:00
初级用户 Posts 6 Credits 126
I ask for your advice.
Floor2 Wengier Posted 2004-01-08 00:00
系统支持 Posts 10,521 Credits 27,736
Not in pure DOS? What state exactly do you mean? Can you be a bit more specific?
Floor3 axin Posted 2004-01-08 00:00
初级用户 Posts 6 Credits 126
Under Windows, then enter DOS, and after executing several commands, I want to shut down directly.
Floor4 xiaojun Posted 2004-01-09 00:00
银牌会员 Posts 499 Credits 2,202
If it's 98, there are Power off, shutdown, etc. The forum boot disks all have them.
Floor5 axin Posted 2004-01-09 00:00
初级用户 Posts 6 Credits 126
Power off and Shutdown don't work well.
I tried "rundll32.exe user.exe,restartwindows" too, but for some reason that doesn't work either.
I boot the machine under Windows98, then execute the Winstart batch program, and a password must be entered,
if it's wrong, the machine restarts
Floor6 zww3008 Posted 2004-01-09 00:00
初级用户 Posts 21 Credits 197
I tried "rundll32.exe user.exe,restartwindows" too, but for some reason that doesn't work either.
You typed the command wrong. In Windows 98 it isn't restartwindows. I don't remember it too clearly either, it seems to be
rundll32.exe user.exe,exitecwindows I'll check again next time.
Floor7 zww3008 Posted 2004-01-10 00:00
初级用户 Posts 21 Credits 197
In windows 98:
Shut down: rundll32.exe user.exe,exitwindows
Restart: rundll32.exe user.exe,exitwindowsexec
You can make a shortcut for the above commands and use it directly later.
If used in a batch file, rundll32.exe should be changed to rundll.exe
Floor8 axin Posted 2004-01-12 00:00
初级用户 Posts 6 Credits 126
Many thanks
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023