Skip to content

Commit

Permalink
Merge pull request #676 from gormac/master
Browse files Browse the repository at this point in the history
Fix 'Invalid code page' error when restoring code page at end of script for Windows
  • Loading branch information
spacewander authored Nov 3, 2017
2 parents 9573a76 + d520e06 commit e7ca960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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%

Expand Down

0 comments on commit e7ca960

Please sign in to comment.