From f959b4d4d3945beae68f0af5364a1f63a091919c Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 4 Feb 2018 13:04:25 +0100 Subject: [PATCH] Remove trailing dot of German Windows --- install.cmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.cmd b/install.cmd index 6192727..abfec18 100644 --- a/install.cmd +++ b/install.cmd @@ -15,6 +15,9 @@ for /F "tokens=*" %%F in ('chcp') do ( for %%A in (%%F) do (set _last=%%A) ) SET CP=%_last:~0% +if "!CP:~-1!"=="." ( + SET CP=!CP:~0,-1! +) chcp 850 > NUL :: echo %CP%