Command Prompt History

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

Command Prompt History

  • Comments 3

Keyboard:  F7 (history window); [UP / DOWN] ARROW (history)
Versions:  2008,2010
Published:  7/19/2010
Code:  vstipTool0055

 

image

 

 

So, since many people like to use the command prompt, I thought we might explore one of the oldest features around:  command history.

 

There are two main ways to get previous commands you've typed in previously.  First, You can just hit the UP ARROW key to start going through your history at the prompt itself:

image

 

 

The advantage here is you can quickly edit the command to change it if needed.  However, if you just want to run a command from your history you can use a VERY old trick by pressing F7:

image

 

This feature will execute the command you select from the list by using your UP or DOWN ARROW keys. 

  • I never stopped using the command prompt after migrating from DOS to Windows, but this is the first time I've heard of this extremely useful hotkey.  Where were you ten years ago? :)

  • hehehe :)

  • Totally agree with Chris - I'm embarrassed I never knew about F7! Somehow that wasn't include in "MS-DOS to the Max: Version 6.0" that I studied religiously in Jr High!

Page 1 of 1 (3 items)
Leave a Comment
  • Please add 3 and 7 and type the answer here:
  • Post