Run dialog box shortcut?


Recommended Posts

Is there any way to make a shortcut to the 'Run...' dialog that has an actual path? I've tried dragging it from the Start menu to the desktop or the Quick Launch toolbar, but it doesn't have any real path (not even a %windir% or %systemroot% or anything). I know that it can be done via script, but I'd prefer to not use one if possible. I've searched Google and here, but those two things seem to be the only ways to do it.

Is there a way to do it via rundll32.exe shell32.dll,SHAppRun or something like that?

Thanks in advance!

Link to comment
Share on other sites

After click the start,you can drag the "Run" to the Quick Launch,and then drag it to the desktop,a shortcut is created,but in my opinion,use the "winkey+R" would faster.

Link to comment
Share on other sites

^^ Guys, he obviously knows that. I think he's asking it so that Run could then be invoked from a script or something. (or just plain curious?)

Anyways, rpgfan, you were quite close - It's not SHAppRun though, but RunFileDlg. It's however, referenced by its ordinal number (61). Here's how you would call it:

rundll32.exe shell32.dll,#61

More shell32 functions: http://www.geoffchappell.com/studies/windo...2/api/index.htm

More useful rundll32's : http://vb.mvps.org/tips/shellcpl.txt , http://www.rgagnon.com/pbdetails/pb-0204.html

:)

Edited by [deXter]
Link to comment
Share on other sites

Thanks for the links (Y) very handy I've got a icon on the quick launch on my work PC that locks the system just as if you had done Ctrl alt del enter its great one mouse click and you lock your PC I never really looked into what other things I can do cheers to you....

Link to comment
Share on other sites

Win+L can be logged by a key-logger, where as CTRL+ALT+DEL cannot.

However, I'm not sure if this is the case when CTRL+ALT+DEL is invoked via a shortcut.

Link to comment
Share on other sites

@accesser: Win+L

Ohh yeah :blink:

Does that work with win 2k? I only just got a XP system at work

I still like the quick launch icon its a single click and your all locked.

Link to comment
Share on other sites

  • 11 months later...

I just registered here to thank [deXter] for ending a 10 year search for me. Dexter I have posed this same question a 1000 times and never got a qualified answer yet till now. Move over shoe clerks, Pikers and Lamers. Dexter is in town.

Thank you dearly Sir.

Charlie.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.