Problem with Shortcut to Restart


  1. Posts : 169
    Windows 7 Home Premium x64
       #1

    Problem with Shortcut to Restart


    Hello-

    I currently have a shortcut on my desktop ["C:\Windows\System 32\shutdown.exe -r -t 00"] and it works beautifully. I do, however, want to have a shortcut to Restart in 1) the desktop context menu and 2) a desktop application called RocketDock. I've attempted these thinking that it would be very straight-forward, however, I ran into the same snag for both locations.

    If you're not familiar with RocketDock it is basically an application launcher which allows you to identify the target path to the program you want launched. When you click on the designated icon, the program should launch. In RocketDock, when Restart is attempted with the same target path as the desktop shortcut, the all-too-familiar "Open with" popup window:
    Problem with Shortcut to Restart-capture2.png
    In the registry I created the target path value "C:\Windows\System 32\shutdown.exe -r -t 00"] in HKEY_Local_Machine\Software\Classes\Directory\Background\shell\RESTART\cmd [I know this is the correct location as I've made shortcuts to my browsers and image editor here]. When I click on RESTART from the desktop context menu I get practically the same popup window:
    Problem with Shortcut to Restart-capture3.png
    The only thing that I can think of is the actual System 32 file being pointed to is the shutdown.exe file and that the shortcut to the desktop identifier [–r –t 00] is not recognizable by either. May be a reach.

    So my questions are, why does a program have to be associated with shortcuts from these two locations and what program would I have to associate with these two locations to make the shortcuts work?

    I hope I've been clear, but if you need further explanations, please respond.

    Thank you in advance.

    -Mark
      My Computer


  2. Ivo
    Posts : 398
    Windows 7 Home 64, Vista Ultimate 64
       #2

    Not sure that's your only problem, but there is certainly no space between System and 32.
      My Computer


  3. Arc
    Posts : 35,373
    Microsoft Windows 10 Pro Insider Preview 64-bit
       #3

    Well , there is an alternative to do it . I use that program . It looks like that :
    Problem with Shortcut to Restart-capture.jpg
    Problem with Shortcut to Restart-capture2.jpg

    Unzip and place iShut in Program Files , Connect it to your dock , that's all .
    Problem with Shortcut to Restart Attached Files
      My Computer


  4. Posts : 169
    Windows 7 Home Premium x64
    Thread Starter
       #4

    Ivo - I typed out the path incorrectly and copied and pasted it throughout. In properties, it is correct. Good catch.
    Arc - Thanks for this operation. I have included it in RocketDock. I like it because it gives multiple options instead of one per file path.

    So that takes care of RocketDock. If I can now get the shortcut established for the desktop context menu I will be one happy man.
      My Computer


  5. Posts : 408
    Windows Seven Home Premium 32bit SP1
       #5

    Arc said:
    Well , there is an alternative to do it . I use that program . It looks like that :
    Problem with Shortcut to Restart-capture.jpg
    Problem with Shortcut to Restart-capture2.jpg

    Unzip and place iShut in Program Files , Connect it to your dock , that's all .
    I like this Arc :) but i can not open the iShutConfig.exe folder i get this error

    Attachment 109434


    I do not have comctl32.ocx in my C:\Windows\System32 folder i am just wondering if i am supposed to.

    Edit; just had a look at my Vista laptop & it has comctl32.ocx but not on my Seven laptop???

    Edit; got it sorted, thanks A Guy

    COMCTL32.OCX missing
    Last edited by mitchell64; 19 Jul 2011 at 14:41.
      My Computer


  6. Arc
    Posts : 35,373
    Microsoft Windows 10 Pro Insider Preview 64-bit
       #6

    You are most welcome Darryl and Markaz
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:11.
Find Us