您的位置:程序门 -> windows专区 -> windows nt/2000/xp/2003



hosts文件找不到,只能找到lmhosts.sam?无法解析?


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


hosts文件找不到,只能找到lmhosts.sam?无法解析?
发表于:2007-04-10 21:04:57 楼主
如题
发表于:2007-04-11 13:06:431楼 得分:0
我也想知道.

hosts文件在什么位置 ?
发表于:2007-04-11 16:49:282楼 得分:0
x:\windows\system32\drivers\etc
发表于:2007-04-11 16:50:183楼 得分:0
原始文件内容类似:

#   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
发表于:2007-04-11 17:27:394楼 得分:0
楼上正解。
楼主可以查看自己的host文件中是不是被加入了可疑信息,把它们清除掉即可。
发表于:2007-04-15 10:56:235楼 得分:0
我已经找到解决方法。用记事本建立一个文件,命名为hosts,放在\windows\system32\drivers\etc下。


快速检索

最新资讯
热门点击