Shutdown Shortcut

  • Thread starter Thread starter Jill
  • Start date Start date
J

Jill

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...
 
Enter shutdown -s -t 0
Restart: shutdown -r -t 0
Logoff: shutdown -l -t 0
Hibernate: rundll32.exe PowrProf.dll, SetSuspendState Hibernate
 
Thanks... Spirit... but what about a conformation window that I really want
to shutdown and/or restart???

Thanks for the reply...
 
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
 
Jill said:
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...

my keyboard bought 7 years ago for 9$ only has 3 buttons: sleep, wake up,
power.
:-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top