rpgfan Posted October 22, 2007 Share Posted October 22, 2007 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 More sharing options...
joninon6 Posted October 22, 2007 Share Posted October 22, 2007 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 More sharing options...
Kaidiir Posted October 22, 2007 Share Posted October 22, 2007 Yeah...for a run prompt, just hold down the windows key and push R. Link to comment Share on other sites More sharing options...
[deXter] Posted October 23, 2007 Share Posted October 23, 2007 (edited) ^^ 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 October 23, 2007 by [deXter] Link to comment Share on other sites More sharing options...
spikey_richie Posted October 23, 2007 Share Posted October 23, 2007 Nice deXter :) I use vbextreme.net for my coding questions but it's nice to see someone here with vb/scripting knowledge. Link to comment Share on other sites More sharing options...
accesser Posted October 23, 2007 Share Posted October 23, 2007 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 :) 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 More sharing options...
Guest ID2 Posted October 23, 2007 Share Posted October 23, 2007 @accesser: Win+L Link to comment Share on other sites More sharing options...
spikey_richie Posted October 23, 2007 Share Posted October 23, 2007 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 More sharing options...
accesser Posted October 24, 2007 Share Posted October 24, 2007 @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 More sharing options...
spikey_richie Posted October 24, 2007 Share Posted October 24, 2007 Yes, it works with 2K Link to comment Share on other sites More sharing options...
Gladhatter Posted October 13, 2008 Share Posted October 13, 2008 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 More sharing options...
Recommended Posts