Merge pull request #514 from moscowchill/bat-pr

Fix ANSI escape codes displaying as literal text in winPEAS.bat
This commit is contained in:
SirBroccoli
2025-11-15 15:45:38 +01:00
committed by GitHub

View File

@@ -707,7 +707,8 @@ EXIT /B
:SetOnce :SetOnce
REM :: ANSI escape character is set once below - for ColorLine Subroutine REM :: ANSI escape character is set once below - for ColorLine Subroutine
SET "E=0x1B[" for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
SET "E=%ESC%["
SET "PercentageTrack=0" SET "PercentageTrack=0"
EXIT /B EXIT /B