Has anyone found such behavior when Command Processor (cmd.exe) closes immediately after calling it? I’ve run McAfee AV and Windows System File Check (sfc.exe) and nothing wron
I've had similar problem - cmd.exe
was closing immediately after starting. I was able to keep it running by executing cmd.exe /K cmd.exe
, but it was closing after any invalid command. I've found out that my problem was caused by non default code page:
C:\>chcp
Active code page: 65001
To fix the problem I've removed registry entry:
[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]
"CodePage"=dword:0000fde9
Another solution is to change cmd.exe
font from raster fonts to a true type one.