Console Entries for Users

The Console key contains font, cursor, and screen control values under the following Registry path:

|


HKEY_CURRENT_USER\Console

FullScreen REG_DWORD 0 or 1

1 = full screen mode, 0 = windowed mode. Valid only on x86 machines.

Default: 0x0

HistoryBufferSize REG_DWORD Number

Specifies number of commands stored in command history buffer.

Default: 0x32

NumberOfHistoryBuffers REG_DWORD Number

Specifies number of history buffers associated with console.

Default: 0x4

QuickEdit REG_DWORD 0 or 1

Specifies 1 (enabled) for quick-edit mode, 0 (disabled) for normal edit mode.

Default: 0

ScreenBufferSize REG_DWORD Buffer size

Specifies console screen buffer size. Low word is width, high word is height.

Default: 0x00190050

WindowSize REG_DWORD Size

Specifies console window size. Low word is width, high word is height.

Default: 0x00190050

You can also create subkeys under HKEY_CURRENT_USER\CONSOLE which are the names of console windows. These subkeys can contain any of the preceding values. When you open a console window, Windows NT looks in the registry for a subkey with the same name as the window title (for example, "Command Prompt"). If the subkey is found, any values stored there override the values stored in the \CONSOLE key for that console.

The Console key also contains several subkeys that define screen size and buffer size for character-based screens in Windows NT. These subkeys appear under the following Registry path:

|


HKEY_CURRENT_USER\Console\subkeyNames

The Command Prompt subkey does not appear unless the current user has changed the screen colors or font for the command prompt and also checked the Save Configuration options. Use the commands on the Control menu in the command prompt to change these values.

Console subkey

Default value entries

Command Prompt
(All data types are
REG_DWORD)

FontFamily=0x30
FontSize=0xc0008
FullScreen=0x1
PopupColors=0xf5
QuickEdit=0
ScreenBufferSize=0x190050
ScreenColors=0x9f
WindowsPosition=0x150004
WindowSize=0x190050

Introducing Windows NT

FullScreen=0x1

Microsoft QBASIC

FullScreen=0x1

|