Wednesday, July 11, 2018

Create One-Click Shutdown And Reboot Shortcuts

Create One-Click Shutdown And Reboot Shortcuts

Hello, 

Today i am going to show you how to easily shutdown, reboot, and log off your PC.

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 shout down our PC.

But you can do much more with a shutdown shortcut than mere 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. " the shutdown command includes a variety of switches you can use to customize it.

Below are list of all the customization and their use

i use this technique to create two shutdown shortcuts on my desktop - one for turning offf my pc, and one for rebooting. here are the ones i use:

shutdown -s -t 03 -c "Bye Bye Techlighthub!"
shutdown -r -t 03 -c "Ill be Back Techlighthub" ;) !"

SWITCHES 

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"

Display a message in the system shutdown window. A maximum of 127 character can be used. the message must be enclosed in  quotation marks.

-f

Forces any running application to shutdown

-r 

reboots the PC.


"Enlightenment"


No comments:

Post a Comment