%userprofile%
stores personal data of a specific user. ProfileImagePath
under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-SID
. %userprofile%
usually is c:\Users\username
(username
being lowercase of %username%
?) %CSIDL_PROFILE%
is equivalently used for %USERPROFILE%
. Name | German name | Junction to |
3D Objects | 3D | |
AppData | ||
Application Data | Anwendungsdaten | %UserName%\AppData\Roaming% (aka %AppData% ) |
Contacts | ||
Cookies | Cookies | %LOCALAPPDATA%\Microsoft\Windows\INetCookies |
Desktop | ||
Documents | Dokumente/Documents? | |
Downloads | Download | |
Favorites | Favoriten | |
Links | Links | |
Local Settings | Lokale Einstellungen | %LOCALAPPDATA% |
MicrosoftEdgeBackups | MicrosoftEdgeBackups | |
Music | Musik | |
My Documents | Eigene Dateien | Documents |
NetHood | Netzwerkumgebung | %APPDATA%\Microsoft\Windows\Network Shortcuts |
OneDrive | OneDrive | |
PrintHood | Druckumgebung | %APPDATA%\Microsoft\Windows\Printer Shortcuts |
Recent | Recent | %APPDATA%\Microsoft\Windows\Recent |
Saved Games | ? | |
Searches | Suchen | |
SendTo | SendTo | %APPDATA%\Microsoft\Windows\SendTo |
Start Menu | Startmenü | %APPDATA%\Microsoft\Windows\Start Menu |
Templates | Vorlagen | %APPDATA%\Microsoft\Windows\Templates |
Videos | Videos |
%USERPROFILE%
also stores the registry hive for the current user (HKEY_CURRENT_USER
) in the file %USERPROFILE%\NTUSER.DAT
. $env:USERPROFILE
or $home
with the tilde (~
): PS C:\> ls $env:USERPROFILE PS C:\> ls $home PS C:\> ls ~ PS C:\> cd ~ PS C:\> cd ~/Documents
PS C:\> [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::UserProfile) C:\Users\Rene
%userprofile%\AppData
stores application data. HOMEDRIVE
and HOMEPATH
. System.Environment+SpecialFolder
. /home/<username>
.