Solved

Line Command to shutdown Window98

Posted on 2002-04-22
7
146 Views
Last Modified: 2013-12-28
Dear all:

Is there any DOS command which I can type to shut down window 98?
0
Comment
Question by:cbgold
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 1

Expert Comment

by:birdski
ID: 6961888
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
 

Author Comment

by:cbgold
ID: 6961916
I hangup with the bat file containing the line command .... !!!
0
 
LVL 1

Expert Comment

by:googlyralph
ID: 6962187
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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 1

Expert Comment

by:googlyralph
ID: 6962189
(I think its in the Windows 98 resource kit, but dont hold me to that).

GR
0
 

Accepted Solution

by:
peterhong earned 50 total points
ID: 6962358
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
 

Author Comment

by:cbgold
ID: 6962421
It's OK, but still ask me "YES" or "NO" before I shut down the window
0
 

Author Comment

by:cbgold
ID: 6990772
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question