ProcessStartInfo startinfo = new ProcessStartInfo();//创建进程时使用的一组值,如下面的属性startinfo.FileName = "cmd.exe";//设定需要执行的命令程序//以下是隐藏cmd窗口的方法