Windows command-line prompt/console font settings

Source: Internet
Author: User

1. Run regedit to open Registry Editor, open the registry to navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\console\ Truetypefont], you can see the TrueType font settings for the console program under Windows

* To add fonts is also very simple, in the registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\console\truetypefont] Add a string value with the name 000 and set its value to the name of the font you want to use, and if you want to add more fonts, just add a string value and name it 0000, which means add a 0. I added a font named Bitstream Vera Sans Mono, you can choose any font you want to use, and of course it has to be in the system.

The above settings are only valid in the current CMD window, and if you want to take effect globally, you also need to modify:

Hkey_current_user\console\%systemroot%_system32_cmd.exe

If there is garbled characters in Chinese. Enter commands in the current window

437

Reference:

https://my.oschina.net/aiguozhe/blog/108542

http://www.2maomao.com/blog/windows-console-font/

Http://qianduanblog.com/post/cmd-font-consolas.html

Http://www.cnblogs.com/kangflict/p/4111010.html

Windows command-line prompt/console font settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.