Windows Server 2012 r2 The system cannot write to the specifi

Windows Server 2012 r2 版本,在cmd中输入chcp 65001后,提示The system cannot write to the specifi 解决办法(自己某度了半天也没查出原因,还是自己猜试出来的。真难。)

 

cmd中,默认的活动页面是936,但是无法echo 出中文,所以需要更换活动页面为65001,但是执行中,就报上面那个错误了。

经过查证后,以下为正确解决方法:

请修改cmd的默认字体为 新宋体就可以了。