递归删除文件夹 #region 删除文件夹 public static void DeleteAllFolder(string folderPath) { try { //去除文件夹和子文件的只读属性 System.IO.DirectoryInfo fileInfo =