Command History Buffer

by Wayne Maples [Published on 20 April 2004 / Last Updated on 20 April 2004]

To change the command history buffer parameters, apply the following Windows NT / Windows 2000 registry hack.

commands can be recalled using up-down arrow key.

Number of commands that can be recalled:
Hive: HKEY_CURRENT_USER
Key: Console
Name: HistoryBufferSize
Type: REG_DWORD
Value: 0x32 default, approximately 50 commands

Number of History Buffers - how many DOS windows do you want history buffers on:
Hive: HKEY_CURRENT_USER
Key: Console
Name: NumberOfHistoryBuffers
Type: REG_DWORD
Value: 0x4 default

Allow duplicates in History Buffer?:
Hive: HKEY_CURRENT_USER
Key: Console
Name: HistoryNoDup
Type: REG_DWORD
Value: 0x0 keep duplicates, default
Value: 0x1 discard duplicates

See Also

Featured Links