Windows 7 - Shutdown Shortcut

Asked By Jill on 10-Jul-07 07:34 PM
I know how to make a shutdown shortcut... however, I do not know how to
include a conformation that I want to shutdown... can anyone tell me how to
make a shutdown shortcut with a conformation that I really want to
shutdown...

Thanks in advance...

Jill...




Spirit replied on 10-Jul-07 07:50 PM
Enter shutdown -s -t 0
Restart: shutdown -r -t 0
Logoff: shutdown -l -t 0
Hibernate: rundll32.exe PowrProf.dll, SetSuspendState Hibernate
Spirit replied on 10-Jul-07 07:57 PM
http://www.vista4beginners.com/Shut-Down-Log-Off-Restart-Hibernate
Premade Shortcuts
Jill replied on 10-Jul-07 08:02 PM
Thanks... Spirit... but what about a conformation window that I really want
to shutdown and/or restart???

Thanks for the reply...
Jon replied on 10-Jul-07 08:11 PM
If you paste these lines into notepad and save with a .vbs extension, and
then click on it, it will give you an idea of how you can get a confirmation
prompt


JillsResponse = _
MsgBox("Hey Jill, do you really really wanna shut me down?", _
vbOKCancel, "Checking If Jill is really sure")
If JillsResponse = vbOK Then
MsgBox "Ok gonna shut down then"
Else
MsgBox "Ok I won't shut down then"
End If





--
Jon
Spirit replied on 10-Jul-07 08:16 PM
In Command Window   -    SHUTDOWN /?
Shows all arguments
Jill replied on 10-Jul-07 08:49 PM
Thank you Jon and Spirit... got it...

Thank you soooo much for the help....

Jill...