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-06-29 06:35
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to restart the computer by entering a command in Start - Run View 2,304 Replies 16
Floor 16 Posted 2005-09-02 00:06 ·  中国 上海 东方有线
中级用户
★★
Credits 377
Posts 66
Joined 2005-04-04 00:00
21-year member
UID 37817
Gender Male
Status Offline
Originally posted by JonePeng at 2005-9-1 10:13 PM:


My machine is a dual-boot system of Win98 + WinXP. Just verified, both can restart. It is not only suitable for machines with a single system. The first command above is a quick restart skipping the self-test, and the second is a normal...


I tried again:
rundll.exe user.exe,exitwindowsexec
Can only achieve the restart of Win98, returning to the Win98 system, and cannot achieve the restart of the machine to enter DOS

Rundll32.exe Shell32.dll,SHExitWindowsEx 2
An error occurred after execution: Shell.dll error, missing SHExitWindowsEx
Is there still a problem with my machine or the system? But a friend of mine tried the same result on his machine. The purpose of entering DOS by restarting the machine was not achieved.

In WinXp, I easily achieved the purpose of restarting the machine to enter DOS using the Shutdown /r command.
Floor 17 Posted 2005-09-02 11:53 ·  中国 福建 福州 电信
初级用户
Credits 22
Posts 11
Joined 2005-08-28 19:45
20-year member
UID 42037
Status Offline
Under Windows XP, you can use `shutdown /r` to restart. The command `Rundll32.exe Shell32.dll,SHExitWindowsEx 2` is used for restarting under Windows 98, and it's for restarting the machine.
Forum Jump: