2013年7月1日

C#中启动外部应用程序

摘要: C#中我们可以通过Process类直接启动外部应用程序代码如下: Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; //打开cmd p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardInput = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.RedirectStandardError = true; p.StartInfo.CreateNoWind 阅读全文

posted @ 2013-07-01 17:36 MisterS 阅读(611) 评论(0) 推荐(0) 编辑

导航