当前位置: win7下载网 > win7系统教程 > win7系统hosts文件寻找的详细教程

win7系统hosts文件寻找的详细教程

时间:2021-09-11 03:54:15 来源:www.cnomit.cn 作者:佚名 浏览次数:

大家对电脑都爱不释手,但偶尔会碰见对win7系统hosts文件寻找进行设置的问题,相信大家都是第一次面对win7系统hosts文件寻找的问题,那么怎样快速对win7系统hosts文件寻找的设置方法非常简单,只需要1、同时按下Win+R组合键,调出运行栏。2、在运行文本框输入c:\windows\system32\drivers\etc,点击确定按钮的顺序来就搞定了,现在我们就一同详细的学习一下win7系统hosts文件寻找具体的设置方法:

 

host文件

host文件载图1

 

快速进入hosts文件夹的方法。同时按下Win+R组合键,调出运行栏。

win7

win7载图2

 

在运行文本框输入c:\windows\system32\drivers\etc,点击确定按钮。

文件位置

文件位置载图3

 

Hosts文件怎么修复?

将hosts文件复制到桌面,用记事本打开!

host文件

host文件载图4

 

删除记事本的全部内容,将以下内容复制后放入文件然后保存:

# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:##      102.54.94.97     rhino.acme.com          # source server#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.# 127.0.0.1       localhost# ::1             localhost

host

host载图5

 

将修改后的hosts文件放入c:\windows\system32\drivers\etc替换以前的hosts文件,修复成功!

win7

win7载图6

 

以上就是win7 hosts文件位置在哪的讲解了。

虽然说看过教程发现很简单,但是很多用户第一次不知道怎么操作。还有一个很重要的是,一定要以一定要以管理员身份运行记事本程序,不然是无法保存的。

 

到这里本文关于win7系统hosts文件寻找的操作方法就结束了,有碰到一样情况的用户们可以采取上面的方法来处理,希望对大家有所帮助。

相关教程