2
0
mirror of https://github.com/cmderdev/cmder.git synced 2025-03-13 22:24:39 +08:00

Merge pull request from asoluter/master

Fix a problem with an ampersand character in path
This commit is contained in:
Dax T Games 2022-01-15 10:33:35 -05:00 committed by GitHub
commit 66f9d582ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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" (