proc.StartInfo.Arguments = "/c ping 10.2.2.125"; C#程序调用CMD执行命令 将参数传递给cmd.exe的(Passing an argument to cmd.exe) 转载于:https://www.cnblogs.com/net-saiya/p/11599050.html