1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Windows Vista Adding a Command to a shortcut?

Discussion in 'Legacy Windows' started by AceH, 2008/10/05.

  1. 2008/10/05
    AceH

    AceH Inactive Thread Starter

    Joined:
    2002/01/16
    Messages:
    601
    Likes Received:
    2
    Running Win Vista Home Premium SP1. Trying to create a shortcut to shutdown the computer.

    Instructions: In the Create Shortcut dialog, "rundll32.exe user32.dll,LockWorkStation "...this works for locking down the desktop.

    Further instructions: "You can repeat this exact process to create shortcuts to shutdown. In order to create a shortcut to shutdown, you can use the following command: shutdown -s -t 01. "

    How would this be written for it to work?

    Here's what I did...rundll32.exe user32.dll,ShutdownWorkStation /shutdown -s -t 01...this gives an error stating "missing entry: Shutdown ".

    Also tried rundll32.exe user32.dll,ShutdownWorkStation -shutdown -s -t 01 which give the same missing entry message.
     
    AceH,
    #1
  2. 2008/10/05
    AceH

    AceH Inactive Thread Starter

    Joined:
    2002/01/16
    Messages:
    601
    Likes Received:
    2
    Issue Resolved!
     
    AceH,
    #2

  3. to hide this advert.

  4. 2008/10/05
    noahdfear

    noahdfear Inactive

    Joined:
    2003/04/06
    Messages:
    12,178
    Likes Received:
    15
    And the answer to the $100 question is ......... ??
     
  5. 2008/10/05
    AceH

    AceH Inactive Thread Starter

    Joined:
    2002/01/16
    Messages:
    601
    Likes Received:
    2
    Just add Shutdown to new shortcut, no need for all that other "stuff" mentioned in the instructions.
     
    AceH,
    #4

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.