C#删除只读文件时间:2023-03-08 23:16:32 File.SetAttributes(fileRealPath, FileAttributes.Normal);//先将文件设置成普通属性 //...你的删除文件的代码