既然来了,还是说句吧,Winexec();

解决方案 »

  1.   

    ShellExecute(nil,"open",'a.exe','','',sw_show),
    大概是这样,具体你看一下帮助
      

  2.   

    请问Winexec()和Shellexecute()怎么用呀?
      

  3.   

    在 uses中加上 ShellApi
    用ShellExeCute或WinExec
      

  4.   

    ShellExecute(handle, 'open', 'iexplore.exe',nil,nil, SW_SHOWNORMAL);ShellExecute(handle,'open',PChar(StrPath),nil,nil,SW_SHOWNORMAL)QQ需要指出绝对路径、不知你调哪些EXE
      

  5.   

    那winexec的用法呢?我查帮助没有发现
      

  6.   

    用ShellExecute()不仅可以打开一个应用程序,还可以打开文件和网页
    例如要打开c:\QQ\qq2000.exe可以
    ShellExecute(Handle,'Open',PChar('c:\QQ\qq2000.exe'),nil,nil,SW_SHOWNORMAL);
    要打开网页
    ShellExecute(Handle,nil,PChar('Http://www.sina.com.cn'),nil,nil,SW_SHOWNORMAL);