1
0
mirror of https://github.com/massgravel/Microsoft-Activation-Scripts.git synced 2025-04-07 06:27:31 +00:00

Replace square brackets with double quotes in string comparison

This commit is contained in:
WindowsAddict
2024-08-19 05:29:19 +05:30
parent d55b9fa78c
commit b983bd41da
7 changed files with 47 additions and 47 deletions

View File

@ -293,7 +293,7 @@ set -=
set old=
for /f "delims=[] tokens=2" %%# in ('ping -4 -n 1 updatecheck.mass%-%grave.dev') do (
if not [%%#]==[] (echo "%%#" | find "127.69" %nul1% && (echo "%%#" | find "127.69.%masver%" %nul1% || set old=1))
if not "%%#"=="" (echo "%%#" | find "127.69" %nul1% && (echo "%%#" | find "127.69.%masver%" %nul1% || set old=1))
)
if defined old (
@ -1190,7 +1190,7 @@ for %%# in (pkeyhelper.dll) do @if "%%~$PATH:#"=="" exit /b
for %%# in (Volume:GVLK) do (
call :k_pkey %osSKU% '%%#'
if defined pkey call :k_pkeychannel !pkey!
if /i [!pkeychannel!]==[%%#] (
if /i "!pkeychannel!"=="%%#" (
set key=!pkey!
exit /b
)