diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 1c55fce7764..0e25debca72 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -83,7 +83,7 @@ HINSTANCE hinst; DWORD errorlevel; int echo_mode = 1, verify_mode = 0, defaultColor = 7; static int opt_c, opt_k, opt_s; -const WCHAR newline[] = {'\n','\0'}; +const WCHAR newline[] = {'\r','\n','\0'}; static const WCHAR equalsW[] = {'=','\0'}; static const WCHAR closeBW[] = {')','\0'}; WCHAR anykey[100];