注意:给要执行的程序添加“Everyone” 的可执行权限。

 

                string path = Server.MapPath(".");
                path 
= System.IO.Path.Combine(path, "bin/test.exe");
                System.Diagnostics.Process p 
= new System.Diagnostics.Process();
                p.StartInfo.FileName 
= path;
                p.Start();

 

 

 

 

 

 

相关文章: