C:\Windows\System32\Drivers\Etc的hosts文件内容是不是都一样?求备份。
这个应该是不一样,尤其是使用过一段时间后,如果是原版系统在新安装后基本一样,但现在大多是修改版系统,所以更可能这个文件是不一样的。
查看了下该文件(原版,下载见附件)其内容如下(也可以自己将该内容复制到文本文档里保存该文件):
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
要是我把我电脑上的这个文件删了,装上你的,会发生什么???
几乎没什么影响。
你可以备份下你自己的该文件,然后更换为下载的这个试试。这个是屏蔽网站用的,比如将百度网址以“127.0.0.1 www.baidu.com”形式添加进去,你打开百度时就无法打开了。
相关知识见:http://baike.baidu.com/view/597330.htm