win7上网hosts文件恢复-常见系统环境变量

828 2022-08-30 22:28

 %WINDIR%\System32\drivers\etc文件夹下

# 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


# 屏蔽Adobe激活服务器:
0.0.0.0 activate.adobe.com
0.0.0.0 practivate.adobe.com
0.0.0.0 ereg.adobe.com
0.0.0.0 activate.wip3.adobe.com
0.0.0.0 wip3.adobe.com
0.0.0.0 3dns-3.adobe.com
0.0.0.0 3dns-2.adobe.com
0.0.0.0 adobe-dns.adobe.com
0.0.0.0 adobe-dns-2.adobe.com
0.0.0.0 adobe-dns-3.adobe.com
0.0.0.0 ereg.wip3.adobe.com
0.0.0.0 activate-sea.adobe.com
0.0.0.0 wwis-dubc1-vip60.adobe.com
0.0.0.0 activate-sjc0.adobe.com

 

常见系统环境变量:

%ALLUSERSPROFILE%                 C:\ProgramData

%APPDATA%                              C:\Users\用户名\AppData\Roaming

%COMMONPROGRAMFILES%     C:\Program Files\Common Files

%COMMONPROGRAMFILES(x86)%   C:\Program Files (x86)\Common Files

%COMSPEC%                              C:\Windows\System32\cmd.exe

%HOMEDRIVE%和%SystemDrive%      C:\

%HOMEPATH%                           C:\Users\用户名

%LOCALAPPDATA%                    C:\Users\用户名\AppData\Local

%PROGRAMDATA%                    C:\ProgramData

%PROGRAMFILES%                     C:\Program Files

%PROGRAMFILES(X86)%             C:\Program Files (x86)

%PUBLIC%                                 C:\UsersPublic

%SystemRoot%                          C:\Windows

%TEMP%和%TMP%                    C:\Users\用户名\AppData\LocalTemp

%USERPROFILE%                        C:\Users用户名

%WINDIR%                                C:\Windows
 

全部评论

·