摘要: Process类有一个StartInfo属性,这个是ProcessStartInfo类.Process p = new Process();p.StartInfo.FileName = "cmd.exe"; //设定程序名p.StartInfo.UseShellExecute = false; //关闭Shell的使用p.StartInfo.RedirectStandardInput = true; //重定向标准输入p.StartInfo.RedirectStandardOutput = true; //重定向标准输出p.StartInfo.RedirectStandar 阅读全文
posted @ 2012-03-06 20:02 xxx1 阅读(658) 评论(0) 推荐(0) 编辑