Loading

摘要: //执行bat批处理 public static void Main() { ProcessStartInfo myBat = new ProcessStartInfo() { FileName = "D:\\temp\\myBat.bat", WorkingDirectory = Director 阅读全文
posted @ 2021-09-22 17:36 Stay627 阅读(552) 评论(0) 推荐(0) 编辑
摘要: System.IO.DirectoryInfo dir = new DirectoryInfo("D:\\temp"); foreach (System.IO.FileInfo file in dir.GetFiles()) file.Delete(); 阅读全文
posted @ 2021-09-22 16:36 Stay627 阅读(100) 评论(0) 推荐(0) 编辑