Windows Environment Variables and Paths: Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Zeile 43: Zeile 43:
|%WINDIR%
|%WINDIR%
|C:\Windows
|C:\Windows
|-
|%COMSPEC%
|C:\WINDOWS\system32\cmd.exe
|}
|}



Version vom 19. Dezember 2023, 12:39 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

Start Menu

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu

Sources and More Details

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

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