在C#中运行DOS命令
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");
System.Diagnostics.Process.Start("cmd.exe", "/c foo.exe -arg " + "| bar.exe");