Get Quick Updates via Email:

Your details are safe with us. We hate SPAM as much you do. You can also Subscribe via RSS Feed.

How to create one-click ‘Shutdown’ and ‘Reboot’ Shortcut?

This is really very easy task to perform. Making “Shutdown” and “Rebootshortcuts on desktop is really very easy and user-friendly.

Here are the steps to create Shortcuts.

  • First, create a shortcut on your desktop by right-clicking on the desktop, choosing New, and then choosing Shortcut.
  • 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 you 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. Table 1-3 lists all of them and describes their use.

I use this technique to create two shutdown shortcuts on my desktop—one for turning off my Windows, and one for rebooting. Here are the ones I use:

shutdown -s -t 03 -c “Bye Bye Shekhar!”
shutdown -r -t 03 -c “Ill be back Shekhar ;) !”

Switch – What it basically do ?

-s
Shuts down the PC.

-l
Logs off the current user.

-t nn
Indicates the duration of delay, in seconds, before performing the action.

-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.

Having any problem?

You can feel free to contact me anytime via comment form or by contact page.

Always there for you ! :)

Related Posts with Thumbnails

Incoming search terms for the article:

Your details are safe with us. We hate SPAM as much you do. You can also Subscribe via RSS Feed.

Random Posts

http://www.devilslab.com/wp-content/plugins/sociofluid/images/digg_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/reddit_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/stumbleupon_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/delicious_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/blogmarks_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/furl_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/technorati_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/google_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/myspace_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/facebook_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/yahoobuzz_32.png http://www.devilslab.com/wp-content/plugins/sociofluid/images/twitter_32.png

Shekhar Saxena
Hi. I am a student of enginnering from the city of nawabs "Lucknow". Blogging is my hobby and i am not a professional blogger. I write on various topics related to web and windows. You can follow me on twitter @ shekharsaxena

6 Responses to “How to create one-click ‘Shutdown’ and ‘Reboot’ Shortcut?”

  1. sheetal says:

    Yes i did try and its working fine with me on windows 7. and so handy to shutdown and reboot.

  2. yeh workin on vista too. :)

  3. Claire says:

    Awesome tips for shortcut stuff. I’ll bookmark this one. Thanks!

  4. TechGopal says:

    really nice info……..

  5. shortcut , nice … love adding those bits of code to the OS manually

    Sourish

Leave a Reply

© 2010 Devilslab. All rights reserved.
Devilslab A Tech Blog Proudly designed by Theme Junkie.