下面是引用mickey97於2005-05-31 08:32發表的 :
其實...第一次已經牽涉到登錄檔...
再多一個更改host檔...應該沒差吧..
只是XP與W2K要寫兩個檔,分開用
.......
說的也是 XD 那就來做吧
W2K的目錄位址是在哪裡 有沒有人能提供一下 手邊沒有w2k的機器@@
xp的位址C:\WINDOWS\system32\drivers\etc\host
對了有沒有人知道怎樣用命令行的模式把127.0.0.1 download.ud.com加到文件裡
如果沒人知道的話我統一用以下的去取代了喔= =
"
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 download.ud.com
127.0.0.1 bar.baidu.com #百度IE搜索
127.0.0.1 3721.com #3721
127.0.0.1 3721.net #3721
127.0.0.1 cnsmin.3721.com #3721
127.0.0.1 cnsmin.3721.net #3721
127.0.0.1 download.3721.com #3721
127.0.0.1 download.3721.net #3721
127.0.0.1
3721.com... #3721
127.0.0.1
3721.net... #3721
127.0.0.1 zwsw.3721.net #3721
127.0.0.1 ad4.sina.com.cn #sina
127.0.0.1 ad.cn.doubleclick.net #sina
"