o prompt de comando do Windows tem um histórico de comandos. Pres F7 para abri-lo:
F7: Shows list of all previous commands from command history
You can press "F7" key to get a list of all previously executed commands and then you can use Up or Down arrow keys to cycle though them. Press Enter to execute the selected command.
Fonte(imagem):