How to open the Run window programmatically

前端 未结 2 640
小蘑菇
小蘑菇 2021-01-21 06:06

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 programmatic

2条回答
  •  灰色年华
    2021-01-21 06:29

    You can use IShellDispatch::FileRun to achieve this.

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

提交回复
热议问题