Just create a shortcut on your desktop(right-clicking on the desktop, choose New, and then choose Shortcut) and wait for the Create Shortcut Wizard to appear. There, type in the 'Location of the shortcut' box 'shutdown' and save.
Now test it by double clicking it.
This 'shutdown' command can be combined with several tags in order to create a more specific shortcut order. So for example if you want to have your pc restarted instead of getting shutdown use the following command:
shutdown -r
or if you want to get a message while rebooting saying anything you like use the following syntax:
shutdown -r -c "Restart on the way"
Below we are going to explain every available tag/switch command that you can use:
-c "messagetext"
Displays a message in the System Shutdown window. You can use 127 characters maximum. Be careful to put message in quotes, for example: "this a quoted message"
-f
This tag/switch shutdowns by force every running application.
-l
This tag/switch logs off the current user.
-r
This is one of the two basic tags/switches that reboots the PC.
-s
This the other one basic tag/switch that shuts down the PC.
-t nn
This tag/switch delays the command completion in seconds. For example '-t 10' delays the command for 10 seconds.












