http://www.microsoft.com/security/portal/mmpc/shared/variables.aspx
Common folder variables
A variable folder is a folder that might refer to different places on different PCs.
Malware will often use a variable folder when it tries to access, change, or create files and folders on your PC.
The opposite of a variable folder is a hardcoded folder, which is always in the same place on every PC.
The default locations of the variable folders that we use in our encyclopedia are listed on this page.
You can find the location of a variable folder that starts and ends with %:
-
Open a Windows Explorer window (the keyboard shortcut is Windows logo key+E).
-
Type the name of the variable in the address bar, including the % sign at the start and end of the variable (such as %APPDATA%). Press Enter.
-
The location of that variable on your PC will be shown. This may change between different PCs.
-
This will not work for variables that do not start and end with %, such as <system folder> or <start menu>. Instead, your Internet browser will open search the web for the variable.
In Windows 8.1, Windows 7, and Windows Vista, variable folders are called known folders.
In Windows XP and Windows 2000, variable folders are called CSIDL values.
%ALLUSERSPROFILE% | |
---|---|
Windows XP and Windows 2000 | C:\Documents and Settings\All Users |
Windows 8.1, Windows 7, and Windows Vista | Referred to as %ProgramData% |
%APPDATA% | |
Windows XP and Windows 2000 | C:\Documents and Settings\<user name>\Application Data |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\<user name>\AppData\Roaming |
<commonappdata> | |
Windows XP and Windows 2000 | C:\Documents and Settings\All Users\Application Data |
Windows 8.1, Windows 7, and Windows Vista | C:\ProgramData |
%CommonProgramFiles% | |
Windows XP and Windows 2000 | C:\Program Files\Common Files |
Windows 8.1, Windows 7, and Windows Vista | C:\Program Files\Common Files |
%HOMEPATH% | |
Windows XP and Windows 2000 | \Documents and Settings\<user name> |
Windows 8.1, Windows 7, and Windows Vista | \Users\<user name> |
%LOCALAPPDATA% | |
Windows XP and Windows 2000 | C:\Documents and Settings\<user name>\Local Settings\Application Data |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\<user name>\AppData\Local |
%ProgramData% | |
Windows XP and Windows 2000 | Referred to as %ALLUSERSPROFILE% |
Windows 8.1, Windows 7, and Windows Vista | C:\ProgramData |
%ProgramFiles% | |
Windows XP and Windows 2000 | C:\Program Files or C:\Program Files (x86) |
Windows 8.1, Windows 7, and Windows Vista | C:\Program Files or C:\Program Files (x86) |
%ProgramW6432% | |
Windows XP and Windows 2000 | N/A |
Windows 8.1, Windows 7, and Windows Vista | N/A for Windows Vista; varies for Windows 8.1 and Windows 7. See WOW64 Implementation Details for more information. |
%PUBLIC% | |
Windows XP and Windows 2000 | N/A |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\Public |
$recycle.bin | |
Windows XP and Windows 2000 | Windows recycle bin (hidden location) |
Windows 8.1, Windows 7, and Windows Vista | Windows recycle bin (hidden location) |
<start menu> | |
Windows XP and Windows 2000 | C:\Documents and Settings\<user name>\Start Menu or C:\Users\<user name>\Start Menu |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu |
<startup folder> | |
Windows XP and Windows 2000 | C:\Documents and Settings\<user name>\Start Menu\Programs\Startup |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |
%SystemDrive% | |
Windows XP and Windows 2000 | C: |
Windows 8.1, Windows 7, and Windows Vista | C: |
<system folder> | |
Windows XP and Windows 2000 | C:\WinNT\System32 |
Windows 8.1, Windows 7, and Windows Vista | C:\Windows\System32 |
%SystemRoot% | |
Windows XP and Windows 2000 | C:\Windows |
Windows 8.1, Windows 7, and Windows Vista | C:\Windows |
%TEMP% | |
Windows XP and Windows 2000 | C:\DOCUME~1\<user name>\LOCALS~1\Temp |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\<user name>\AppData\Local\Temp |
%USERPROFILE% | |
Windows XP and Windows 2000 | C:\Documents and Settings\<user name> or C:\Users\<user name> |
Windows 8.1, Windows 7, and Windows Vista | C:\Users\<user name> |
'Windows > 윈도우 공통' 카테고리의 다른 글
[스크랩] chkdsk 수행방법 (1) | 2014.09.02 |
---|---|
[스크랩+α] chkdsk 부팅시 자동시작 취소 방법 (0) | 2014.09.02 |
[스크랩] WinSxS 폴더 과연 옮길 필요가 있는가? (0) | 2014.08.06 |
[스크랩] 윈도우 업데이트 파일 삭제 (2008,2012만 해당) (0) | 2014.08.06 |
2008,2012만 해당 - WinSxS 내 폴더별 저장 내용 (0) | 2014.08.06 |