Warning: chmod() has been disabled for security reasons in /usr/home/hyu1215040001/htdocs/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 47
 Windows 7 修改hosts文件的方法 | 博睿网络日志

Windows 7 修改hosts文件的方法

Windows 7 下的hosts文件位置没变,依然在 C:\Windows\System32\drivers\etc 目录下。但如果直接打开编辑,保存时会提示权限不够。

最简单的方法是:先复制hosts文件到别的地方,修改完了再覆盖回来就搞定了。中间会提示目标文件夹拒绝访问,需要提供管理员权限,点击 继续 即可。

博睿网络原创文章,转载请注明来源并保留原文链接

本文链接:http://www.itborui.com/blog/windows7-hosts/


Warning: chmod() has been disabled for security reasons in /usr/home/hyu1215040001/htdocs/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 47

Warning: chmod() has been disabled for security reasons in /usr/home/hyu1215040001/htdocs/blog/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 47