Thursday, August 4, 2011

How to: Create One Click Shutdown Shortcut




First, create shortcut on your desktop by right clicking on the desktop, choosing new, and then choosing shortcut.
click the picture to enlarge
And then, The create shortcut wizard will appear. In the box asking for the location of the shortcut, type shutdown. Click Next and Finish.


click the picture to enlarge
Third,  double click on your shortcut, and change your icon.

click the picture to enlarge
Finish, those are our simple steps for Create One Click Shutdown Shortcut

But, not only that. You can do much more with the shortcut than merely shutdown your PC. You can add any combination of several switches to extra duty like this. Change them in the Target box

click the picture to enlarge

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


Now I'll describe what do they mean
-s shutdown the PC.
-r :   restart the PC.
-l  :   log of current user.
-t <xx> = Indicates the duration of delay, in seconds, before performing the action. "xx" filled with  two number.
-c "message text" = display a message in the System Shutdown window. A maximum of 127 character.
-f = forces any running applications to shutdown.

0 comments:

Post a Comment