Create shortcut to "Run…" in the Start Menu

31 January 2006 by Snakefoot | Comment » | Trackback Off
It is possible to open the "Run..." dialog by using the keyboard shortcut (Windows-Key+R).
It is also possible to create a normal shortcut with an icon that points to the "Run..." dialog.
  1. Create a text file named Run.js, which contains the following line:

    (new ActiveXObject("Shell.Application")).FileRun();

  2. Right-click Run.js and select "Create shortcut"
  3. Right-click the created shortcut and select "Properties"
  4. Add "WScript.exe " (Without quotes) to the beginning of "Target:"
  5. If wanting to change the icon of the shortcut press "Change Icon" else press "Ok"
Note the same technique can be used to launch the Search dialog:

(new ActiveXObject("Shell.Application")).FindFiles();

Note if using Windows XP, then one can also create the icon by dragging the "Run..." icon from the Start Menu to the Desktop (Doesn't work in Classic Mode).

Credits The Old New Thing

Comments:

Comment by eyesilver - 5 February 2008 @ 2:33 Reply

its very useful for me,,,i found it easy when you dont have mouse on your system

Comment by Dk47421 - 14 July 2009 @ 8:01 Reply

Many thanks for posting this! I have looked everywhere and after nearly an hour of searching found your page. It works great in my desktop organizer TurboLaunch.

Comment by Brian Davis - 19 August 2009 @ 3:03 Reply

Very useful! I used it to set a shortcut in Logitech SetPoint to create a shortcut to the Run prompt on one of my keyboard’s “Enhanced F keys”. I use Run all the time, so this is a real convince to me!

Comment by vineet - 14 April 2011 @ 9:29 Reply

this trick is so cute……..
and i want to this type of trick thru mail id……

Leave a comment


NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>