摘要:
uses ShellApi;procedure TForm1.Button1Click(Sender: TObject);var filename, Path: string;begin filename := 'D:\WmgjServer146\server\start.bat'; Path := ExtractFilePath(filename); SetCurrentDir(Path); ShellExecute(Handle, 'open', PWideChar(filename), 'run', nil, SW_SHOWNORMAL); 阅读全文
posted @ 2014-01-21 15:13
XE2011
阅读(925)
评论(0)
推荐(0)

浙公网安备 33010602011771号