Windows Environment Variables and Paths: Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
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
|}


%HOMEDRIVE%
== Start Menu ==
%HOMEPATH%
%LOCALAPPDATA%
  %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
  %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu
%ProgramData%
%ProgramFiles%
%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



Version vom 2. Dezember 2023, 20:10 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

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