1,183
社区成员
发帖
与我相关
我的任务
分享
ShellExecute(Handle,'open','c:\windows\system32\cmd.exe',PChar('/c ipconfig'),nil,sw_show);
代码是调用外部EXE文件,第4个参数,就是带入EXE的参数,其格式是:
参数1+空格+参数2+空格+......+参数N
ShellExecute(Handle,'open','c:\windows\system32\cmd.exe',PChar('/c ipconfig'),nil,sw_show);