Line Command to shutdown Window98

Dear all:

Is there any DOS command which I can type to shut down window 98?
cbgoldAsked:
Who is Participating?
 
peterhongConnect With a Mentor Commented:
The right command is:

rundll32.exe shell32.dll,SHExitWindowsEx 0x1

I am sure this will work. You can create a batch file for the sake of future convenience.
0
 
birdskiCommented:
Never really tried from a dos window but this works 99% of the time from the run line or as a shortcut:

RUNDLL.EXE USER.EXE,EXITWINDOWS

0
 
cbgoldAuthor Commented:
I hangup with the bat file containing the line command .... !!!
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
googlyralphCommented:
Check the Microsoft site, there is some commandline utilities for download, one of them is called "shutdown.exe", and it basically does the command provided by birdski, but is an executbale, and has a few options (ie timeout, force exit, cancel shutdown (if still in timer) etc.

GR.
0
 
googlyralphCommented:
(I think its in the Windows 98 resource kit, but dont hold me to that).

GR
0
 
cbgoldAuthor Commented:
It's OK, but still ask me "YES" or "NO" before I shut down the window
0
 
cbgoldAuthor Commented:
It's a troublesome Microsoft Product -- Office 2000 installed on WIN98 machine.

I accidently find that users that encounter hangup problem after a full day works -- checking the background running program by pressing CTL-ALT-DEL.  I find that even all program is closed, I sometimes still find some program like WINWORD still running on the background....!!! resulting in hangup ....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.