ShellExecuteA URLDownloadToFileA

  ExeFile(Handle,nil,PChar('cmd.exe'),PChar('/c C:\123.exe'),nil,SW_SHOWNORMAL);


  c_md5 := 'cmd.exe /c '+ c_exe;
  winexec(pchar(c_md5),SW_SHOWNORMAL);

 

这两个函数是这样调用cmd的。

posted @ 2014-06-12 09:56  stma  阅读(370)  评论(0编辑  收藏  举报