Skip to main content

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 SLIC - BIOS. Vista, Windows 7

Note: This tutorial is Only for those who have AMI or AWARD Bios, for those who have Phoenix Bios please Google there are a lot of tutorial out there in the forest. To activate a Microsoft Operating System as an OEM (Original Equipment Manufacturing) - SLIC version should match the particular Windows Operating System installed. For Example, Slic v2.0 for Windows Vista, SLIC v2.1 for Windows Vista and Windows 7). - OEM SLP Produc t Key that matches the version of Windows installed Only SLP product key will work, Volume Licensing and Keys Retail Keys will never work. Any SLP product key, the Certificate (Company Cert. e.g Dell, HP, Acer, Lenovo etc. ), and the Slic (Particular Company Slic. e.g Dell, HP, Acer, Lenovo etc.) should always be the same . Downloads Bios Your original Motherboard Bios Tools AMI Tools - Click Here For those who have AMI Bios Award Bios Tools - Click Here For those who have Award Bios Certificate and Slic bin Certificate - Click here Slic ...

How to Unbrick Moto G – Soft Brick Case on android Lollipop

How to Unbrick Moto G – Soft Brick Case First of all, download the firmware compatible to your device Moto from  this page. Now download and install the RSD lite application [ here ] in your computer. It’s similar to flash tool as in Xperia devices. Once it’s installed, open the firmware package and open the  .XLM file from package using Notepad.  Note to backup the file for precaution. In notepad, search for this line ”  step operation = “getvar ” ”  and delete the line and save the file. Now open the RSD lite software and load the edited (and saved) .XLM firmware. Switch off your phone, boot into bootloader mode and connect to the PC. Now click the Start the button in the RSD software. Once it’s flashed the firmware, disconnect your phone switch on. You’re on the stock version now. Relief!!! Please let me know if you have any problem or other solution you can share.

How to make the Best Compressing using WinRAR

FIRST What were going to do is to set up your options correctly. Open WinRAR OPTIONS | SETTINGS | COMPRESSSION | CREATE DEFAULT GENERAL | (ok now that we're there, here's what U do next) But 1st -> realize that everything U set on the default profile will occur everytime U rar files. So if U only need a password occasionally, or other special settings, then create another profile for those purposes. U can change which profile U need to use when WinRar is open. The Default profile is used otherwise, such as when using WinRar from the context menus in explorer. General tab: Archive format RAR Compression method BEST size (enter in BYTES the size you want as the max single Rar file). I use 51,200,000 (50,000 KB x 1024). But chose yer max size as U wish. Update method ADD AND REPLACE FILES Archiving options: check > PUT RECOVERY RECORD Archiving options: check > TEST ARCHIVED FILES. Archiving options: check > DELETE FILES AFTER ARCHIVING ( unless U want yer HDD to fill ...