摘要: /// /// C#运行bat文件 /// /// private void RunBat(string batPath) { Process pro = new Process(); FileInfo file = new FileInfo(batPath); //设置启动进程的初始目录 pro.StartInfo.WorkingDirectory = file.Directory.FullName; //... 阅读全文
posted @ 2013-07-31 11:18 纵一苇之所如- 阅读(447) 评论(0) 推荐(0) 编辑