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

@ -248,7 +248,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 (
@ -935,7 +935,7 @@ for %%# in (pkeyhelper.dll) do @if "%%~$PATH:#"=="" exit /b
for %%# in (%keyflow%) do (
call :k_pkey %targetSKU% '%%#'
if defined pkey call :k_pkeychannel !pkey!
if /i [!pkeychannel!]==[%%#] (
if /i "!pkeychannel!"=="%%#" (
set key=!pkey!
exit /b
)