Windows10 如何 移除掉文件的只读属性

win10 19044版本

修改 C:\Windows\System32\drivers\etc\hosts 的时候发现不可以写入,
即使用管理员权限也不行,发现它有一个只读属性,在网上找到一个文件只读属性的方法

# 需要用管理员权限打开cmd终端
attrib -r C:\Windows\System32\drivers\etc\hosts
参考链接

https://answers.microsoft.com/zh-hans/windows/forum/all/如何更改文/75b0397b-7494-4fc7-9e81-458b0da0e131?auth=1

posted @ 2022-01-13 15:46  wangshaodong  阅读(649)  评论(0编辑  收藏  举报