try
{
ProcessStartInfo
MyStartInfo=new ProcessStartInfo();
MyStartInfo.FileName="cmd.exe";
MyStartInfo.WindowStyle=ProcessWindowStyle.Maximized;
Process MyProcess=new Process();
MyProcess.StartInfo=MyStartInfo;
MyProcess.Start();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}