如何在windows上配host
2018-11-23 本文已影响6人
Eric龚震
1.搜索找到命令提示符

2.右键使用管理员身份运行,不然到后面存host的时候会出现没有修改权限的问题
3.在命令行中键入:notepad,然后回车
(打开记事本的命令)

4.在记事本中选择路径“文件-打开”,因为没有符合条件的文件格式,所以看起来为空

选择“所有文件”之后,就会出现hosts文件
注意文件路径 System32>drivers>etc

4.最后直接在hosts文件中添加需要配置的内容,并保存就可以了