Change the Windows console default buffer rows and widths

Source: Internet
Author: User

The Windows Console window defaults to a small number of displayed rows, which sometimes cause the previous content to be lost when there are many things to display. Very uncomfortable.

So GG, on the StackOverflow found the answer ~ ~ ~

How to set it up:

                       1. Open the Registry
                       2. Navigate to Hkcu\console\%systemroot%_system32_cmd.exe
                       3. Add ( If not, a new 32-bit DWORD value is filled in with its value as follows:
                                                 High 16 bits is the number of rows, Low 16 bits is the number of columns

           For example, to set to 1000 rows x80 column: Set its value to 04000050 (16 binary ).

           

Reference:
1. Screenbuffersize
2. How to change screen buffer size in DOS Command Prompt from batch script

Girl doesn't cry @ cnblogs.com/memset @ 2014-05-29

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.