摘要:
网上有很多用C#调用cmd的方法,大致如下:private void ExecuteCmd(string command){Process p = new Process();p.StartInfo.FileName = "cmd.exe";p.StartInfo.UseShellExecute = false;p.StartInfo.RedirectStandardInput = true;p.StartInfo.RedirectStandardOutput = true;p.StartInfo.CreateNoWindow = true;p.Start();p.Stan 阅读全文
posted @ 2012-07-30 20:32
hack25
阅读(1139)
评论(0)
推荐(1)
浙公网安备 33010602011771号