os/Window

Show Variable for window 10

C/H 2019. 2. 12. 08:30

window variables show

# Specific to current user session
reg query "HKCU\Environment"\

HKEY_CURRENT_USER\Environment
    ADTREG_SZC:\Users\username\AppData\Local\Android\Sdk
    ANDREG_SZC:\Users\username\Downloads\Android
    ANDROID_HOMEREG_SZC:\Users\username\AppData\Local\Android\Sdk   
    ANDROID_NDK_ROOTREG_SZC:\Users\username\AppData\Local\Android\Sdk\ndk-bundle
    COMPOSE_CONVERT_WINDOWS_PATHSREG_SZtrue  
    DOCKER_CERT_PATHREG_SZC:\Users\username\.docker\machine\machines\default
    DOCKER_HOSTREG_SZtcp://192.168.99.100:2376   
    DOCKER_MACHINE_NAMEREG_SZdefault 
    DOCKER_TLS_VERIFYREG_SZ1 
    DOCKER_TOOLBOX_INSTALL_PATHREG_SZC:\Program Files\Docker Toolbox 
    GIT_INSTALL_ROOTREG_SZC:\Users\username\scoop\apps\git\current  
    GOPATHREG_SZC:\Users\username\Projects\go   
    JAVA_HOMEREG_SZC:\Users\username\scoop\apps\oraclejdk8\current  
    MONGOPATHREG_SZC:\Users\username\scoop\apps\mongodb\current\
    NDK_TARGETREG_SZarm-linux-androideabi-4.9
    NO_PROXYREG_SZ192.168.99.100 
    NVM_HOMEREG_SZC:\Users\username\scoop\apps\nvm\current  
    NVM_SYMLINKREG_SZC:\Users\username\scoop\persist\nvm\nodejs\nodejs  
    OneDriveREG_EXPAND_SZC:\Users\username\OneDrive 
    OneDriveConsumerREG_EXPAND_SZC:\Users\username\OneDrive 
    PathREG_SZC:\Users\username\scoop\apps\python27\current\scripts;C:\Users\username\scoop\apps\python\current\scripts;C:\Users\username\scoop\apps\postgresql\current\bin;C:\Users\username\scoop\apps\oraclejd
    k8\current\bin;C:\Users\username\scoop\apps\nvm\current\nodejs\nodejs;C:\Users\username\scoop\apps\gcc\current\bin;C:\Users\username\scoop\apps\composer\current\home\vendor\bin;C:\Users\username\go\bin;C:\Users\username\
    AppData\Local\Programs\Python\Launcher\;C:\Users\username\scoop\apps\go\current\bin;C:\Users\username\scoop\apps\python\current;C:\Users\username\scoop\apps\python\current\DLLs;C:\Users\username\scoop\shims;C:\Users\u
    ncao\AppData\Local\Microsoft\WindowsApps;C:\Users\username\AppData\Local\Android\Sdk\platform-tools;C:\Users\username\Downloads\Android;C:\Users\username\Downloads\Android\dex2jar-2.0;C:\Users\username\AppData\Local\M
    icrosoft\WindowsApps;C:\Users\username\Downloads\selenium;C:\Program Files\Docker Toolbox;C:\Users\username\scoop\apps\mongodb\current\\bin
    PGDATAREG_SZC:\Users\username\scoop\apps\postgresql\current\data
    PGPATHREG_SZC:\Users\username\scoop\apps\postgresql\current 
    PYTHONPATHREG_SZC:\Users\username\scoop\apps\python\current;C:\Users\username\scoop\apps\python\current\DLLs;  
    SELENIUMPATHREG_SZC:\Users\username\Downloads\selenium  
    TEMPREG_EXPAND_SZ%USERPROFILE%\AppData\Local\Temp
    TMPREG_EXPAND_SZ%USERPROFILE%\AppData\Local\Temp 
    WORKING_DIR_AND_PYTHON_PATHSREG_EXPAND_SZ%USERPROFILE%\Projects\Projects 
    COMPOSER_HOMEREG_SZC:\Users\username\scoop\persist\composer\home
    GOROOTREG_SZC:\Users\username\scoop\apps\go\current 
    PHP_INI_SCAN_DIRREG_SZC:\Users\username\scoop\apps\php\current\cli;C:\Users\username\scoop\apps\php\current\cli\conf.d;

echo %TIME%
19:32:10.59

# Common to all users
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    ANDROID_HOME    REG_SZ    C:\Users\username\AppData\Local\Android\Sdk
    ANDROID_NDK_ROOT    REG_SZ    C:\Users\username\AppData\Local\Android\Sdk\ndk-bundle
    ComSpec    REG_EXPAND_SZ    %SystemRoot%\system32\cmd.exe
    DriverData    REG_SZ    C:\Windows\System32\Drivers\DriverData
    GOPATH    REG_SZ    C:\Users\username\Projects\go
    GOROOT    REG_SZ    C:\Users\username\scoop\apps\go\current
    LIBTHAI_DICTDIR    REG_SZ    C:\Users\username\scoop\apps\gimp\2.10.8\share\libthai
    NDK_TARGET    REG_SZ    arm-linux-androideabi-4.9
    NUMBER_OF_PROCESSORS    REG_SZ    8
    OS    REG_SZ    Windows_NT
    Path    REG_EXPAND_SZ    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Git\cmd
    PATHEXT    REG_SZ    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE    REG_SZ    AMD64
    PROCESSOR_IDENTIFIER    REG_SZ    Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
    PROCESSOR_LEVEL    REG_SZ    6
    PROCESSOR_REVISION    REG_SZ    8e0a
    PSModulePath    REG_EXPAND_SZ    %ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules
    PYTHONEPATH    REG_SZ    C:\Users\username\scoop\apps\python\current;C:\Users\username\scoop\apps\python\current\DLLs
    TEMP    REG_EXPAND_SZ    %SystemRoot%\TEMP
    TMP    REG_EXPAND_SZ    %SystemRoot%\TEMP
    USERNAME    REG_SZ    SYSTEM
    windir    REG_EXPAND_SZ    %SystemRoot%
    VBOX_MSI_INSTALL_PATH    REG_SZ    C:\Users\username\scoop\apps\virtualbox-np\6.0.4\

echo %USERPROFILE%
C:\Users\username

echo %USERNAME%
username


반응형

'os > Window' 카테고리의 다른 글

winget package manager  (0) 2021.03.29
scoop auto update, reset, clean  (0) 2019.03.30
scoop.ps1 Error  (0) 2018.09.29
Scoop GUI Client = scoop-viewer  (0) 2018.09.17
Scoop Bucket Wiki  (0) 2018.09.15