creating a shortcut of shutdown on desktop

Status
Not open for further replies.

thadhanihemant

Journeyman
i want to create shortcut for "shutdown" as well as "restart" at the desktop
i had done this with tweak xp pro, tell me if i can do it without any 3rd party utilities
thanks
 

siriusb

Cyborg Agent
Right-clck on desktop, choose new->shortcut

For shutdown, type
shutdown -s -t 00
For restart, type:
shutdown -r -t 00

Rename file accordingly.
 

yrana2002

Ambassador of Buzz
You can give the timeout if you want for a "Warning Message" to be displayed by replacing the -t 00 with any no. of seconds such as -t 10 for ten seconds.

If you like it real fancy, you can even give an own message before shutdown by adding the switch -c "Your text".

For example, to say Shutdown scheduled, you can just type in:
shutdown -s -t 10 "Shutdown scheduled" and so on.
 
Status
Not open for further replies.
Top Bottom