.NET中如何执行命令行命令?

System.Diagnostics.Process.Start("CMD.exe","/c net send 192.168.3.6 你今天过的好吗?"); System.Diagnostics.Process.Start("cmd.exe", "/c foo.exe -arg " + "| bar.exe");
posted on 2005-03-17 16:17  lhx  阅读(595)  评论(0编辑  收藏  举报