摘要:
//执行bat批处理 public static void Main() { ProcessStartInfo myBat = new ProcessStartInfo() { FileName = "D:\\temp\\myBat.bat", WorkingDirectory = Director 阅读全文
摘要:
System.IO.DirectoryInfo dir = new DirectoryInfo("D:\\temp"); foreach (System.IO.FileInfo file in dir.GetFiles()) file.Delete(); 阅读全文