Showing posts with label DOS prompt command history. Show all posts
Showing posts with label DOS prompt command history. Show all posts

Saturday, December 15, 2007

DOS prompt command history

When working in a DOS prompt you often need to repeat commands, or at least execute very similar commands. There are a few nifty ways to repeat commands in a DOS prompt.

F3: Copy last command to command line.
F7: Shows your entire command history. Press enter to select a command and execute it. Press -> or <- (right or left arrow key) to copy the command to the prompt, so you can modify it.
F8: Command completion (like filename completion). Enter the first few letters of any previous command, press F8 to rotate through all previous commands starting with these letters.

Nifty