Link to home
Start Free TrialLog in
Avatar of cbgold
cbgold

asked on

Line Command to shutdown Window98

Dear all:

Is there any DOS command which I can type to shut down window 98?
Avatar of birdski
birdski

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

Avatar of cbgold

ASKER

I hangup with the bat file containing the line command .... !!!
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.
(I think its in the Windows 98 resource kit, but dont hold me to that).

GR
ASKER CERTIFIED SOLUTION
Avatar of peterhong
peterhong

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cbgold

ASKER

It's OK, but still ask me "YES" or "NO" before I shut down the window
Avatar of cbgold

ASKER

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 ....