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

@ -242,7 +242,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 (