摘要: public static void ForceClearDir(string dirPath) { DirectoryInfo dirInfo = new DirectoryInfo(dirPath); dirInfo.Delete(true); } 注:path是你要删除的非空目录; true: 阅读全文
posted @ 2022-11-24 09:57 double64 阅读(253) 评论(0) 推荐(0)