diff --git a/CHANGELOG.md b/CHANGELOG.md index 18da042..dbd8b4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a ## [Unreleased] +## [1.3.1] - 2021-08-04 + +### Fixed +- Fixed error caused by parentheses in system environmental path. + ## [1.3.0] - 2021-07-02 ### Added diff --git a/cli_changer.bat b/cli_changer.bat index 5bc472c..269848a 100644 --- a/cli_changer.bat +++ b/cli_changer.bat @@ -19,7 +19,7 @@ rem +------------------------------------------------+ rem ------------------- rem Default Variables rem ------------------- -set $scriptVersion=1.3.0 +set $scriptVersion=1.3.1 set $defaultInstallPath[0]=C:\wamp set $defaultInstallPath[1]=C:\wamp64 @@ -139,7 +139,7 @@ if %$cliSessionMode% equ 0 ( rem Get the command window 'session' environmental path. rem Note: This path is a combination of the system environmental rem path and the user environmental path. - set $pathString=%Path% + set $pathString=%Path:)=^)% ) rem Explode the path string into an array.