new FileInfo(f).Attributes = FileAttributes.Normal; File.Delete(f); 设置文件属性为Normal,然后再执行删除操作。 相关文章: 2021-12-07 2021-07-11 2021-10-21 2021-09-20 2021-06-16 2022-02-27 2022-12-23 2022-12-23