Use other fonts in the CMD command line window

Source: Internet
Author: User
Modify font in cmd Command Line Mode: 1> in the DOS window, right-click [properties] font and color to set the font size and color;

2> the default font only supports dot matrix font and new, And the dot matrix font can only be 10*20 characters in size. The font size can be set for new;


Use other Fonts:(Note:Exercise caution when modifying the registry., Run regedit to open the Registry)

1> open item: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ console \ truetypefont

It can be found that there is a AB (string value) in it. The default value is 0 and 00, corresponding to the two items in the CMD font menu. Each time a font item is added, an additional 0 is required;

For example, add the lucida console font (the font must be a monospace family font and a system-installed font), and create a new string value name 000, the data lucida console.

2> set codePage (inner code table, which defines the character ing code. The original IBM character set is called inner code table 437 or MS-doslatinus ), the new font can be displayed only when the codePage value is 437;

Method 1: doscommand chcp, for example: chcp 437

Method 2: HKEY_CURRENT_USER \ console \ unzip systemroot1__system32_cmd.exe. Modify the value of the binary codePage to decimal 437 (1b5 in hexadecimal notation). Modify the string value facename to set the default font.

3> shut down the registration table, re-run cmd.exe, and view the font list under the attribute. One more entry is required.

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.