Windows Environment Variables and Paths: Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
List of useful Windows Environment Variables for quickly navigating to assorted directories:
== List of Windows Environment Variables ==
{| class="wikitable"
|+
!Variable
!Example
|-
|%HOMEDRIVE%
|C:
|-
|%HOMEPATH%
|\Users\Alice
|-
|%LOCALAPPDATA%
|C:\Users\Alice\AppData\Local
|-
|%PROGRAMDATA%
|C:\ProgramData
|-
|%PROGRAMFILES%
|C:\Program Files
|-
|%PROGRAMFILES(X86)%
|C:\Program Files (x86)
|-
|%PUBLIC%
|C:\Users\Public
|-
|%RANDOM%
|Provides a random integer number
|-
|%SYSTEMDRIVE%
|C:
|-
|%SYSTEMROOT%
|C:\Windows
|-
|%USERNAME%
|Alice
|-
|%USERPROFILE%
|C:\Users\Alice
|-
|%WINDIR%
|C:\Windows
|-
|%COMSPEC%
|C:\WINDOWS\system32\cmd.exe
|}


%HOMEDRIVE%
== List of Notable Paths ==
%HOMEPATH%
%LOCALAPPDATA%
  %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
  %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
%ProgramData%
  %USERPROFILE%\Documents\Benutzerdefinierte Office-Vorlagen
%ProgramFiles%
  %APPDATA%\Microsoft\Teams\Backgrounds\Uploads
%Public%
%RANDOM%
%SYSTEMDRIVE%
%SYSTEMROOT%
%USERNAME%
  %USERPROFILE%
  %WINDIR%


Sources and more details:
== Sources and More Details ==
https://ss64.com/nt/syntax-variables.html
https://ss64.com/nt/syntax-variables.html
https://ss64.com/nt/syntax-folders.html
https://ss64.com/nt/syntax-folders.html


[[Category:Windows]]
[[Category:Windows]]

Aktuelle Version vom 7. Juni 2024, 16:35 Uhr

List of Windows Environment Variables

Variable Example
%HOMEDRIVE% C:
%HOMEPATH% \Users\Alice
%LOCALAPPDATA% C:\Users\Alice\AppData\Local
%PROGRAMDATA% C:\ProgramData
%PROGRAMFILES% C:\Program Files
%PROGRAMFILES(X86)% C:\Program Files (x86)
%PUBLIC% C:\Users\Public
%RANDOM% Provides a random integer number
%SYSTEMDRIVE% C:
%SYSTEMROOT% C:\Windows
%USERNAME% Alice
%USERPROFILE% C:\Users\Alice
%WINDIR% C:\Windows
%COMSPEC% C:\WINDOWS\system32\cmd.exe

List of Notable Paths

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
%USERPROFILE%\Documents\Benutzerdefinierte Office-Vorlagen
%APPDATA%\Microsoft\Teams\Backgrounds\Uploads

Sources and More Details

https://ss64.com/nt/syntax-variables.html

https://ss64.com/nt/syntax-folders.html