Jump to content

Create Shutdown and Restart shortcut


karachidude

Recommended Posts

Create Shutdown shortcut.

Create a new shortcut.

Enter the following for the location:

%windir%\system32\Shutdown.exe -s -t 00

Set the name to something descriptive like, I don’t know… Shutdown. and click Finish.

Change the icon if you would like, otherwise it will use the icon reserved for dll files. I used the red button from SHELL32.dll which is used on the Start Menu to shut the system down.

Create Restart shortcut.

Create a new shortcut.

Enter the following for the location:

%windir%\system32\Shutdown.exe -r -t 00

Set the name to something like Restart and click Finish.

Change the icon if you would like otherwise it will use the icon reserved for dll files. I used the blue button from SHELL32.dll which is used on the Start Menu to restart the system down.

Tested on XP SP3

K'dude

Link to comment
Share on other sites


  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

you do *not* need to add the "%windir%\system32\" part

just type "shutdown.exe -s (or r) t 0"

also you can use the "-f" parameter to force the reboot/shutdown ;)

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...