如题,是文件夹的,我试了很长时间的
directory.attributes =fileattributes.normal
没效果
///
/// 去除文件夹只读属性
///
/// 文件夹物理路径
public static bool SetDirAttrNormal(string strPath)
{
bool success = true;
try
{
string[] strFiles = Directo......
答案就在这里:C#去除文件夹只读属性
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。