command history
Tonight's tip is very simple, but don't miss that you can scroll through the command history in Windows command prompt by pressing the up and down arrows. In this example, you can see that pressing the up arrow allows us to go back to the previously entered commands.
We can press the down arrow to go through the commands again in chronological order. If you right click on the title bar and choose Properties, and then select the Options tab, you'll be able to adjust the buffer size to decrease or increase the number of commands that can be accessed in the history. The maximum is 999. The number of buffers option controls how many separate instances of command prompt can be opened. The maximum is also 999. Checking the option for 'Discard Old Duplicates' will only store one copy of each command in the history.