Solved

Line Command to shutdown Window98

Posted on 2002-04-22
7
141 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
Comment Utility
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
Comment Utility
I hangup with the bat file containing the line command .... !!!
0
 
LVL 1

Expert Comment

by:googlyralph
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Expert Comment

by:googlyralph
Comment Utility
(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
Comment Utility
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
Comment Utility
It's OK, but still ask me "YES" or "NO" before I shut down the window
0
 

Author Comment

by:cbgold
Comment Utility
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

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

763 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now