【文件属性】:
文件名称:c# 调用外部程序,Process初体验
文件大小:925B
文件格式:TXT
更新时间:2013-09-28 03:35:52
c#,外部程序,Process,cmd
很稳定的,我已经测试过!
/// 执行DOS命令
///
/////
测试端IP
/////
//public static void GetPrecess(string FtpIP)
//{
// Process p = new Process();
// p.StartInfo.FileName = "cmd.exe";
// p.StartInfo.UseShellExecute = false;
// p.StartInfo.RedirectStandardInput = true;
// p.StartInfo.RedirectStandardOutput = true;
// p.StartInfo.RedirectStandardError = true;
// p.StartInfo.CreateNoWindow = true;