- Open Command Prompt
- Click the upper-left corner of the Command Prompt window, and then click Properties.
- Click the Options tab.
- In Command History, type or select 999 in Buffer Size, and then type or select 5 in Number of Buffers.
- Click the Layout tab.
- In Screen Buffer Size, type or select 9999 in Height.
- In the Apply Properties dialog box, click Save properties for future windows with same title.