Hosts文件的位置是 %SystemRoot%\system32\drivers\etc\ 。实际位置是定义在注册表里面的\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
%SystemRoot%是C:\windows。
在不同的操作系统中位置是不同的,具体见http://en.wikipedia.org/wiki/Hosts_file
Hosts文件的位置是 %SystemRoot%\system32\drivers\etc\ 。实际位置是定义在注册表里面的\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
%SystemRoot%是C:\windows。
在不同的操作系统中位置是不同的,具体见http://en.wikipedia.org/wiki/Hosts_file