Add button to Turn Off Computer dialog?

  • Thread starter Thread starter For example: John Smith
  • Start date Start date
F

For example: John Smith

How can I add my own button in the Turn Off Computer dialog?

I want the extra button to run a script (vbs)
My script performs a few tasks, then restarts the system.

My script is working and I currently have a shortcut to it on my XP desktop.
However, given the nature of the script, it would be nice to be able to run
it from the Turn Off Computer dialog.
 
For example: John Smith said:
How can I add my own button in the Turn Off Computer dialog?

You cannot do this because this dialog is not customizeable.
 
John, you might be able to shutdown using the following code as the last
line in your script:

shutdown -s -t 00

You can also use the line for a shortcut Icon on your desktop.
 
Additionally you can set shutdown scripts if this script is meant to be run on every shutdown (or logoff).

If you type Using Scripts in help you'll get a contents page of the 4 Startup/logon/logoff/shutdown help topics.
 
Back
Top