mirror of
https://github.com/tj/git-extras.git
synced 2026-09-13 00:46:26 -04:00
Fix 'Invalid code page' error when resetting code page at end of script
This commit is contained in:
parent
9573a7653b
commit
d520e0641e
|
|
@ -14,7 +14,7 @@ SETLOCAL enabledelayedexpansion
|
|||
for /F "tokens=*" %%F in ('chcp') do (
|
||||
for %%A in (%%F) do (set _last=%%A)
|
||||
)
|
||||
SET CP=%_last:~0,-1%
|
||||
SET CP=%_last:~0%
|
||||
chcp 850 > NUL
|
||||
:: echo %CP%
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue