日期:2014-05-17 浏览次数:20877 次
System.Diagnostics.Process cmd = new System.Diagnostics.Process();
cmd.StartInfo.FileName = "cmd.exe";
cmd.StartInfo.Arguments = "/k telnet 192.168.0.1";
cmd.StartInfo.CreateNoWindow = false;
cmd.Start();
cmd.WaitForExit();
cmd.Close();