110,536
社区成员
发帖
与我相关
我的任务
分享
using System.Runtime.InteropServices;
[DllImport("kernel32.dll")]
internal static extern uint WinExec(string lpCmdLine, uint uCmdShow);
private const uint SW_SHOW = 5;
private void button1_Click(object sender, EventArgs e)
{
WinExec(@"c:\temp\temp.bin", SW_SHOW);
}