WindowSize

HKCU\Console

Data type

Range

Default value

REG_DWORD

Size (number of characters) Maximum: 0x7FFF7FFF

0x190050

Description

Specifies the size of the command window.

The value of this entry is an 8-byte hexadecimal value. The first four bytes (high word) represent the number of lines that appear on the screen. The last four bytes (low word) represent the number of lines of columns on the screen.

For example, the default value, 0x190050, indicates that the screen buffer is 25 (0x19) lines high and 80 (0x50) columns wide.

If the screen buffer (the size of the screen retained in memory) is larger than the window size, you can scroll to see the entire screen. You cannot make the window size larger than the screen buffer size.

Change method

To change the window size, click the system menu icon in the title bar, and then select either Defaults to change the settings for all instances of that window, or Properties to change the current window only. Click the Layout tab, and then use the Window Size box to set the width and height of the window.

Activation method

Changes made in the Properties dialog box are effective immediately. Changes made in the Defaults dialog box or in the registry are effective the next time you open a console window.

Note

The value of this entry reflects the default window settings.

Related Entries

ScreenBufferSize