-
新建txt粘贴后把后缀改成.reg
-
粘贴以下代码
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont]
"0"="Lucida Console"
"00"="Consolas"
"936"="x"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\RasterFonts]
"微软雅黑"="msyh.ttc"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Consolas"=hex(7):4d,00,53,00,59,00,48,00,2e,00,54,00,54,00,43,00,2c,00,ae,5f,\
6f,8f,c5,96,d1,9e,2c,00,31,00,32,00,38,00,2c,00,38,00,30,00,00,00,00,00
- 重启电脑
- 打开cmd,效果如图