Search This Blog

Saturday, August 11, 2007

Create Single Click Shutdown and Reboot Shortcuts on the Desktop

Follow the steps to create Shortcut to Shutdown.
  • Right click anywhere on the Desktop and navigate to NEW > SHORTCUT.
  • Enter the following line in the Shortcut dialogue Box.
shutdown -s -t 03 -c "Bye Bye YourName"
  • Click Next.
  • Type the Name as Shutdown.
  • Click Finish.

Now you can Shutdown your PC right from your Desktop.


Follow these steps to create Shortcut to Restart.
  • Right click anywhere on the Desktop and navigate to NEW > SHORTCUT.
  • Enter the following line in the Shortcut dialogue Box.
shutdown -r -t 01 -c "Rebooting your PC Mr. YourName"
  • Click Next.
  • Type the Name as Restart.
  • Click Finish.


There are different switches for these purpose and you can do a lot more with the right kind of combination of the switches. The switches are describd below


-s
Shuts down the PC.

-l
Logs off the current user.

-t nn
Indicates the duration of delay, in seconds, before performing the action. ("nn" means the specified duration in seconds)

-c "messagetext"
Displays a message in the System Shutdown window. A maximum of 127 characters can be used. The message must be enclosed in quotation marks.

-f
Forces any running applications to shut down.

-r
Reboots the PC.

No comments:

Related Posts Plugin for WordPress, Blogger...
Blogger Tips And Tricks|Latest Tips For Bloggers Free Backlinks