摘要: private void RunBat(string batPath){Process pro = new Process();FileInfo file = new FileInfo(batPath);pro.StartInfo.WorkingDirectory = file.Directory.FullName;pro.StartInfo.FileName = batPath;pro.StartInfo.CreateNoWindow = false;pro.Start();pro.WaitForExit();}Process proc = new Process();proc.StartI 阅读全文
posted @ 2012-11-14 11:37 717806198 阅读(209) 评论(0) 推荐(0) 编辑