Re: Shutdown computer (from command line?)
- From: "Ian D" <taurus@xxxxxxxxxxx>
- Date: Tue, 6 Jan 2009 15:57:33 -0500
"_Z" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23SFJr2BcJHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
"Alain Dekker" wrote:
Hi,
I know about the command prompt "shutdown" command to shut down a PC.
If I use the setting below, it shuts down the PC in 10 seconds
with a nice message:
shutdown -s -t 10 -c "This is a nice message about why
I'm shutting you down"
The problem is that my computer just powers down and what I'd like
to do is get that message at the end which says
"It is now safe to turn your PC off".
Any idea how I achieve that?
"Alain Dekker" wrote:
... _Z gave a facetious reply which was amusing but was not relevant.
I still haven't found out how to get Windows to give the
"Safe to switch off..." message but further
investigations appear to have tracked it down to a feature of the
motherboard called ACPI. If the motherboard is non-ACPI, Windows displays
this message, otherwise it doesn't.
There does not appear to be an easy way to get Windows to display the
message on ACPI motherboards...
Alain,
Sure there is.
Why not just write a VBscipt to display an Alert that spoofs a
shutdown alert, complete with a script timeout, and, if necessary,
actually launch shutdown.exe?
The problem with any script like that, is XP is still running while
giving the message, and you still shouldn't cut the power until
it quits. With the safe to shut down message the OP was referring
to, you could kill power immediately because the OS had already
terminated.
.
- Follow-Ups:
- Re: Shutdown computer (from command line?)
- From: Alain Dekker
- Re: Shutdown computer (from command line?)
- References:
- Shutdown computer (from command line?)
- From: Alain Dekker
- Re: Shutdown computer (from command line?)
- From: _Z
- Re: Shutdown computer (from command line?)
- From: John John (MVP)
- Re: Shutdown computer (from command line?)
- From: Alain Dekker
- Re: Shutdown computer (from command line?)
- From: _Z
- Shutdown computer (from command line?)
- Prev by Date: Re: Page File Size
- Next by Date: Re: How do I Prevent Folder Moving
- Previous by thread: Re: Shutdown computer (from command line?)
- Next by thread: Re: Shutdown computer (from command line?)
- Index(es):
Relevant Pages
|