Posts which you will also like.

Monday, November 29, 2010

Create Shortcut for Quick shutdown and reboot

One-Click Shutdown and Reboot

First, create a shortcut on your desktop by right-clicking on the desktop, choosing New, and then choosing Shortcut. The Create Shortcut Wizard appears. In the box asking for the location of the shortcut, type shutdown. After you create the shortcut, double-clicking on it will shut down your PC.

But we can do much more with a shutdown shortcut than merely shut down your PC. You can add any combination of several switches to do extra duty, like this:

shutdown -r -t 01 -c "Rebooting your PC"
Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message "Rebooting your PC." The shutdown command includes a variety of switches you can use to customize it.
lists all of them and describes their use.
shutdown -s -t 03 -c "I will be back soon !"
shutdown -r -t 03 -c "Just a restart ;)!"
  • -s Shuts down the Computer.
  • -l Logs off the current user.
  • -t nn Indicates the duration of delay, in seconds, before performing the action.
  • -c "textmsg"
  • Displays a message in the System Shutdown window(maximum allowed characters are 127) .Quotation marks are mandatory.
  • -f Forces any running applications to quit.
  • -r Reboots the Computer.

No comments:

Post a Comment

Your comment may wait for moderation.... Protected by Copyscape Online Plagiarism Tool