Fix a problem with an ampersand character in path

This commit is contained in:
Ihor Sofiichenko
2021-12-08 23:49:14 +02:00
committed by GitHub
parent 9f065a63e8
commit a1417f6cf9

View File

@ -74,7 +74,7 @@ exit /b
set "find_query=%add_to_path%" set "find_query=%add_to_path%"
set "find_query=%find_query:\=\\%" set "find_query=%find_query:\=\\%"
set "find_query=%find_query: =\ %" set "find_query=%find_query: =\ %"
set OLD_PATH=%PATH% set "OLD_PATH=%PATH%"
setlocal enabledelayedexpansion setlocal enabledelayedexpansion
if "!found!" == "0" ( if "!found!" == "0" (