View Windows command line history

Updated: 04/26/2017 by Computer Hope

While in the Windows command line, press the F7 to view a history of all the commands entered in that window. Below is a picture of what the Windows command line history box looks like when open.

Windows command line history

Pressing the up or down keys allows you to browse through all commands and once highlighted, pressing the Enter performs the previous command.

Additional information