If you use the "DOS/Command Prompt" often, you might want to give DOSKEY a try.
This handy utility will remember the commands you type at the command prompt, so that you can use your UP and DOWN arrow keys to recall them.
Simply type DOSKEY at the DOS/Command Prompt and press ENTER.