Condividi tramite


Command Prompt History

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.

Comments

  • Anonymous
    July 19, 2010
    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? :)

  • Anonymous
    July 20, 2010
    hehehe :)

  • Anonymous
    July 20, 2010
    The comment has been removed