A shortcut to the Run dialog

Here's a little script that opens the Run dialog. You can save it as "Run.js" and double-click it.

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

The advantage of this approach over various others people have come up with is that this one is actually documented. (And therefore is less likely to break in the next version of the operating system.)

Comments (6)
  1. Phil Rodgers says:

    Hitting Windows+R is documented too, at Q126449.

  2. Adina Adler says:

    Hitting Windows+R is also documented in the Help system, and I think it has been since Windows 98. (I think that’s when I found it, as well as all of the other things you can do with the Windows key.)

  3. Bill Wert says:

    Except you can’t use WScript’s sendkeys method to send the windows key. That’s what makes the script chunk above useful.

  4. Corey Gouker says:

    You can also just create a regular shortcut to " &Run… ". not sure if it’s documented anywhere though :-).

  5. Girish says:

    You can just drag and drop "Run" from the start menu onto desktop. That will start the "Run" when you double-click.

  6. Alec Soroudi says:

    That only works with XP’s new start menu, not the old, "classic" start menus.

Comments are closed.

Skip to main content