creating a shortcut of shutdown on desktop

Discussion in 'QnA (read only)' started by thadhanihemant, Feb 9, 2006.

Thread Status:
Not open for further replies.
  1. thadhanihemant

    thadhanihemant New Member

    Joined:
    Jun 28, 2005
    Messages:
    205
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. siriusb

    siriusb New Member

    Joined:
    May 12, 2005
    Messages:
    1,171
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Chennai, India, Asia, the Earth, the Solar system,
    Right-clck on desktop, choose new->shortcut

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

    Rename file accordingly.
     
  3. OP
    OP
    thadhanihemant

    thadhanihemant New Member

    Joined:
    Jun 28, 2005
    Messages:
    205
    Likes Received:
    0
    Trophy Points:
    0
    thanks alot
     
  4. yrana2002

    yrana2002 New Member

    Joined:
    Sep 23, 2005
    Messages:
    507
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    The Black Pearl
    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.
     
  5. OP
    OP
    thadhanihemant

    thadhanihemant New Member

    Joined:
    Jun 28, 2005
    Messages:
    205
    Likes Received:
    0
    Trophy Points:
    0
    that's awesome guys
    reallly liked ur tips
    thankzzzzz
     
  6. anandk

    anandk Distinguished Member

    Joined:
    Mar 8, 2005
    Messages:
    3,786
    Likes Received:
    106
    Trophy Points:
    0
    Location:
    Pune
Thread Status:
Not open for further replies.

Share This Page