Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open the Run window programmatically

Everyone knows the Run window that you can open with the shortcut Windows+R or directly in the Windows menu then Run.
I'm wondering how to open this Run window programmatically.
This window seems to be part of explorer.exe.
Does anyone have an idea on it ?

like image 787
Nicolas Avatar asked Oct 12 '11 08:10

Nicolas


1 Answers

You can use IShellDispatch::FileRun to achieve this.

See Using the Windows RunFile dialog - The documented and undocumented way for details and sample code.

like image 133
Roman R. Avatar answered Oct 07 '22 11:10

Roman R.