User Tip #7: Command History Buffer

Hits: Failed to execute CGI : Win32 Error Code = 3


The command shell has a default of 50 commands which are accessible at the commandline by pressing up or down arrows. To change the default number of commands, cut and paste the following code into histbuf.reg file and run it.

REGEDIT4
BLANK LINE GOES HERE
[HKEY_CURRENT_USER\Console] "HistoryBufferSize"="80"
BLANK LINE GOES HERE

My example sets the buffer to hold 80 commands. The other useful option one can set is whether the buffer records duplicates. To disable duplicate commands in the history buffer: Cut and paste the following code into hbufnodups.reg.

REGEDIT4
BLANK LINE GOES HERE
[HKEY_CURRENT_USER\Console] "HistoryNoDup"="1"
BLANK LINE GOES HERE

See .REG files for background information on .REG files.