windows 7中文件和文件夹只读属性问题
我运行的是 Windows 7 Home Premium,我的问题是当我从文件夹中删除只读属性时,它会再次检查只读。
C:\Program Files\EasyPHP1-8\www\bagsdefined
我想从bagsdefine文件夹中删除ready检查
Im running windows 7 home premium and my issue is when i remove read only attribute from a folder it again check on readonly.
C:\Program Files\EasyPHP1-8\www\bagsdefined
i want to remove readony check from bagsdefined folder
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将要操作的文件移动到
C:\Users\XXXXX\AppData\Local\VirtualStore\Program Files\..
而不是C:\Program Files\..
并且您可能具有 R/W 访问权限。将XXXXX
替换为用户名。这同样适用于以下文件:
C:\Program Files (x86)\..
==>C:\Users\XXXXX\AppData\Local\VirtualStore\Program Files (x86)
它是 Win7 中 Microsoft UAC 虚拟化方案的一部分。在任何程序中,这些文件都会出现在程序文件中的原始位置,但实际上并非如此。这有点令人毛骨悚然,但它确实有效。
Move the files you want to manipulate into
C:\Users\XXXXX\AppData\Local\VirtualStore\Program Files\..
instead ofC:\Program Files\..
and you may have R/W access. replaceXXXXX
with the username.The same applies for files within
C:\Program Files (x86)\..
==>C:\Users\XXXXX\AppData\Local\VirtualStore\Program Files (x86)
It is part of Microsoft UAC Virtualization scheme in Win7. From within any program the files will appear within their original location in Program Files, but in fact they are not. It is kinda spooky, but it works.
我没有 Windows 7 来测试,但 Windows 资源管理器无法识别文件夹的只读属性。。
I don't have Windows 7 to test but Windows Explorer doesn't recognise the read-only attribute of folders.
该文件夹(和文件)不是只读的 - 它们受 UAC 保护。任何想要写入它们的程序都必须以管理员身份运行(这与您以管理员身份登录不同)。因为这很烦人,我建议您将文件移到其他地方。 AppData 是用户在程序之外不使用的文件的建议位置。 MyDocuments 下的某个位置或您要求用户选择的文件夹是用户希望通过 Windows 资源管理器访问的文件的推荐位置。
The folder (and files) are not read only - they are protected by UAC. Any program that wants to write to them must be running as administrator (this is different from you being signed in as administrator.) Since that's annoying, I recommend you move the files somewhere else. AppData is the recommended location for files the user doesn't use outside the program. Something under MyDocuments, or a folder you ask the user to choose, is the recommended location for files the user will want to get to with Windows Explorer.