hosts文件位置在哪?如何修改hosts文件?
时间:2023-08-26 12:57:52
hosts文件是电脑上用来关联用户所访问的网址和IP对应解析的一个文件,有时候用户需要修改这个文件,不过多数用户是心有余而力不足,因为不知道hosts文件位置在哪?同时还有很多用户找到了hosts文件不知道如何修改,现在就给大家详细介绍这些的操作方法。
1、打开“开始”菜单,点击“所有程序”,找到“附件”中的“记事本”。
![hosts文件位置在哪?如何修改hosts文件?](https://img.aspxhome.com/file/2023/27/a231543_0.jpg)
2、右键单击“记事本”,选择“以管理员身份运行”。(这一步很重要)
![hosts文件位置在哪?如何修改hosts文件?](https://img.aspxhome.com/file/2023/27/a231543_1.jpg)
3、这时弹出一个新的记事本窗口,点击“文件”菜单,选择“打开”。
![hosts文件位置在哪?如何修改hosts文件?](https://img.aspxhome.com/file/2023/27/a231543_2.jpg)
4、在“打开”对话框中通过下拉菜单选择到“C:\Windows\System32\drivers\etc”这个文件夹,同时“C:\Windows\System32\drivers\etc”也就是hosts文件存储的位置。
![hosts文件位置在哪?如何修改hosts文件?](https://img.aspxhome.com/file/2023/27/a231543_3.jpg)
5、点击右下角的文件格式下拉列表,选择“所有文件”。
![hosts文件位置在哪?如何修改hosts文件?](https://img.aspxhome.com/file/2023/27/a231543_4.jpg)
6、这时就可以看到hosts文件了,双击就可以打开文件进行修改,修改完成后可以保存生效。
![hosts文件位置在哪?如何修改hosts文件?](https://img.aspxhome.com/file/2023/27/a231543_5.jpg)
到此关于hosts文件的修改方法已经介绍完毕,虽然说看过教程发现很简单,但是很多用户第一次不知道怎么操作。还有一个很重要的是,一定要以一定要以管理员身份运行记事本程序,不然是无法保存的!在第二步的时候已经提醒过一次。
标签:hosts文件
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
igfxhk module是什么程序?Win7提示igfxhk module已停止工作怎么解决?
2022-09-02 11:33:03
![](https://img.aspxhome.com/file/2023/30/a265570_0s.jpg)
WPS文稿利用渐变为文字披件纱衣
2023-12-01 06:11:15
![](https://img.aspxhome.com/file/2023/3/a164513_0s.png)
Mac版QQ怎么查看好友空间?苹果电脑版腾讯QQ进入QQ空间的方法介绍
2022-06-19 07:22:30
![](https://img.aspxhome.com/file/2023/2/a215492_0s.jpg)
win10硬件加速调低方法
2023-09-09 09:01:06
![](https://img.aspxhome.com/file/2023/0/47070_0s.jpg)
Win7系统中360Tray.exe进程及其常见问题分析
2022-07-21 11:25:31
![](https://img.aspxhome.com/file/2023/27/a232481_0s.jpg)
AMD芯片组驱动程序需要安装吗?
2023-05-18 14:01:25
![](https://img.aspxhome.com/file/2023/30/a267523_0s.png)
Win11d盘为什么扩展不了 Win11d盘扩展不了原因及解决方法
2022-07-03 10:32:46
![](https://img.aspxhome.com/file/2023/27/a236741_0s.jpg)
Office2013安装无限制 换台电脑联机即可激活
2023-08-10 17:58:55
![](https://img.aspxhome.com/file/2023/3/15703_0s.jpg)
Win10不能玩征途2游戏怎么解决?
2022-08-17 02:26:50
![](https://img.aspxhome.com/file/2023/26/a225083_0s.jpg)
未来 Magsafe 还有哪些发展空间?
2023-09-28 04:41:59
![](https://img.aspxhome.com/file/2023/8/46238_0s.gif)
excel表格里怎么复制公式
2023-07-30 22:21:02
excel的修炼术-神奇小技巧
2023-09-27 21:52:32
Excel表格中怎么制作圆锥图表?
2022-02-03 22:40:47
![](https://img.aspxhome.com/file/2023/1/40501_0s.jpg)
win7怎么添加硬盘?win7添加硬盘的方法
2022-11-24 07:15:27
![](https://img.aspxhome.com/file/2023/30/a271108_0s.jpg)
如何控制XP系统盘减少空间
2023-05-11 06:28:06
![](https://img.aspxhome.com/file/2023/29/a258534_0s.jpg)
Excel2007制作百分比堆积柱形图
2022-08-26 13:48:24
![](https://img.aspxhome.com/file/2023/1/41471_0s.jpg)
WindowsPhone上的新Win10会是什么样子呢?wp手机试玩win10图赏
2023-02-18 08:08:54
![](https://img.aspxhome.com/file/2023/29/a252177_0s.jpg)
Win10专业版声卡驱动怎么卸载重装
2022-02-25 10:29:09
![](https://img.aspxhome.com/file/2023/26/a223266_0s.png)
Win10计算器在哪?Win10计算器快捷打开方法
2023-07-14 16:41:09
![](https://img.aspxhome.com/file/2023/26/a223867_0s.png)
鲁大师怎么升级驱动?鲁大师驱动升级教程
2023-11-06 04:30:57
![](https://img.aspxhome.com/file/2023/7/a330368_0s.jpg)