Additional Powershell escapes for $ and ;

This commit is contained in:
CorpNewt
2024-05-30 10:06:24 -05:00
committed by GitHub
parent 1307fe448b
commit 4fa7fc0b23
+2
View File
@@ -56,6 +56,8 @@ set "%~1=!%~1:(=`(!"
set "%~1=!%~1:)=`)!"
set "%~1=!%~1:{=`{!"
set "%~1=!%~1:}=`}!"
set "%~1=!%~1:$=`0!"
set "%~1=!%~1:;=`;!"
if "%~2" == "" (
set "%~1=!%~1!"
) else (