求助System.Diagnostics.Process.Start,打开的方式
System.Diagnostics.Process.Start("cmd.exe");这样打开是默认打开cmd窗体
我想 最大化打开,
还有最小话打开,
还有隐藏打开 怎么设置参数呢!
2010-08-28 17:01
程序代码:Process p = new Process();
p.StartInfo.FileName = "cmd.exe";
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.UseShellExecute = false;
p.StartInfo.Arguments = "/c shutdown /p ";
p.Start();

2010-08-28 17:52
2010-08-28 18:00
2010-08-28 20:53
2010-08-28 21:27

2010-08-28 22:51

2010-08-28 23:09