Solved

Line Command to shutdown Window98

Posted on 2002-04-22
7
143 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
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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

776 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