Tuesday, May 24, 2011

Function Keys at the Command Prompt

This is sort of a noob post, but I'd forgotten about these, even though I use the command prompt almost hourly at work.

With a cmd shell open:

Press     To Get
F1           Last command displayed one letter at a time
F3           Repeat last command
F5           Displays the last commands one-by-one
F7           Displays the command history
F8           Cycles through the last commands, typing a character or two will cause it to match the prefix

There are a couple more, but they don't always respond correctly and IMHO are less useful.