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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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