build update
This commit is contained in:
parent
851f0d7165
commit
9b9ac84dcd
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
@echo off
|
||||
C:\\Windows\\System32\\chcp.com 65001
|
||||
set "PathSystem="
|
||||
for /F "skip=2 tokens=1,2*" %%G in ('%SystemRoot%\System32\reg.exe query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^>nul') do if /I "%%G" == "Path" (
|
||||
if /I "%%H" == "REG_EXPAND_SZ" (set "PathExpand=1" & set "PathSystem=%%I") else if /I "%%H" == "REG_SZ" set "PathSystem=%%I"
|
||||
|
|
|
|||
Loading…
Reference in a new issue