To change the command history settings

1.

Open Command Prompt 

2.

Right-click the title bar, and do one of the following:

To change command history settings for all command prompt windows, click Defaults.

To change command history settings for the current command prompt window only, click Properties.

3.

On the Options tab, under Command History, specify a buffer size, and then specify the number of buffers to use.

Note

To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt

Changing the buffer size changes the number of commands a buffer can store. Changing the number of buffers changes the number of processes that can have distinct history buffers. Increasing the number or size of buffers uses more memory.

To eliminate the listing of duplicate commands in command history, select the Discard Old Duplicates check box.

Related Topics

Change command prompt display option settings

Change command prompt window Edit Options settings

Change the size of the command prompt cursor



© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies