Skip to main content

Create One-Click Shutdown and Reboot Shortcuts

Create One-Click Shutdown and Reboot Shortcuts

Create One-Click Shutdown and Reboot Shortcuts

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 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 PC, and one for rebooting. Here are the ones I use:


shutdown -s -t 03 -c "Bye Bye m8!"

shutdown -r -t 03 -c "Ill be back m8 ;)!"

Switch

What it does

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

Comments

Popular posts from this blog

How to create gmail account?

'Google mail'  or ‘Gmail‘ is a web-based email account in which emails are stored on the internet rather than on your computer. Internet email can be a flexible option as you can access emails from any computer that has internet access – for example, at internet cafés – anywhere in the world. In this guide, we’re going to show you how to get started with email by creating an account in Gmail. NB. We are using Chrome as our browser, however other browsers such as Internet Explorer and Firefox will look similar.  You’ll need: a computer with internet access. Follow these step-by-step instructions to create a Gmail account Step 1:  Open up your internet browser and go to the Google home page:  http://www.google.co m Step 2: C lick on  Gmail  at the top right corner of the page. Step 3:  You’ll now be in the ‘Sign in’ section. As you don’t have a Google account yet, you need to create one. Click  Create an account . Step 4:  To

Brief information about spyware

Brief information about spyware. There are a lot of PC users that know little about "Spyware", "Mal-ware", "hijackers", "Dialers" & many more. This will help you avoid pop-ups, spammers and all those baddies. What is spy-ware? Spy-ware is Internet jargon for Advertising Supported software (Ad-ware). It is a way for shareware authors to make money from a product, other than by selling it to the users. There are several large media companies that offer them to place banner ads in their products in exchange for a portion of the revenue from banner sales. This way, you don't have to pay for the software and the developers are still getting paid. If you find the banners annoying, there is usually an option to remove them, by paying the regular licensing fee. Known spywares There are thousands out there, new ones are added to the list everyday. But here are a few: Alexa, Aureate/Radiate, BargainBuddy, ClickTillUWin, Conducent Timesi

How to invite your all facebook friends to page easily

hello today i will tell you how to invite all your fb friends to page: what you need: PC chrome or mozilla facebook page and admin profile brain :) lets start: first open facebook account and go to your page click on "Invite your friends" left side of the page scroll down until all friends are shown now press CTRL+SHIFT+J to open console and paste this code: javascript:var inputs = document.getElementsByClassName('uiButton _1sm'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); } press enter  wait for 1 minute don't close or don't do anything... and the invite window will be closed and your all friends will be invited enjoy