mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
Fix a problem with an ampersand character in path
This commit is contained in:
parent
9f065a63e8
commit
a1417f6cf9
2
vendor/lib/lib_path.cmd
vendored
2
vendor/lib/lib_path.cmd
vendored
@ -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" (
|
||||||
|
Loading…
Reference in New Issue
Block a user