用API函数WINEXEC函数,你可以在DELPHI里查到帮助

解决方案 »

  1.   

    uses ShellAPI;ShellExecute(0, 'open', 'oil.exe', 'c:\victory', nil, SW_SHOW);
      

  2.   

    uses shellapi;ShellExecute(Nil,'open','c:\victory\oil.exe','','',0);
      

  3.   

    看了API函数的帮助
    应该是
    ShellExecute(0, 'open', 'oil.exe', nil, 'c:\victory', SW_SHOW);
    哎还是靠自己呀!
    不过还要感谢
    chechy(我爱洁洁)
    c_vector(圣维克多)
    l_lei(磊磊)
    xiachedan(瞎扯蛋)
    谢谢你们结贴了