C#啊,下面是完整代码://***************************************
private static bool RunEXE(string ExeName,string ExeArgs){
try{
Process proc=new Process();
proc.StartInfo.FileName=ExeName;
proc.StartInfo.Arguments=ExeArgs;
proc.Start();
proc.WaitForExit();
proc.Close();
return(true);
}catch(Exception){return(false);}
}//***************************************
private static bool RunEXE(string ExeName,string ExeArgs){
try{
Process proc=new Process();
proc.StartInfo.FileName=ExeName;
proc.StartInfo.Arguments=ExeArgs;
proc.Start();
proc.WaitForExit();
proc.Close();
return(true);
}catch(Exception){return(false);}
}//***************************************
http://www.uncj.net/news/show.aspx?id=77