uses shellapi
ShellExecute(0,'Open',ExeName,nil,nil,SW_SHOW)
ExeName:='C:WinNTSystem32Calc.exe';
也有可能系统不安装在C盘,建议把Calc.exe拷到程序的运行文件下
ExeName:=pchar(ExtractFilePath(Application.ExeName)+'Calc.exe')
标签:exe,nil,ExeName,调用,计算器,Calc,可执行程序 From: https://www.cnblogs.com/sixty-five/p/17185682.html