摘要:
/// <summary>/// 拷贝文件夹/// </summary>private static void CopyFolder(string from, string to){ if (!to.EndsWith("\\")) { to += "\\"; } if (!Directory.Exists(to)) Directory.CreateDirectory(to); // 子文件夹 foreach (string sub in Directory.GetDirectories(from)) CopyFolder(sub 阅读全文
posted @ 2012-09-07 17:57 PHP-张工 阅读(513) 评论(0) 推荐(0) 编辑