Command history

Today I found out from Ha neat trick in Windows XP’s command line console (cmd for friends): it has a built-in history of commands. If you open up the console and issue some commands, and then later on you hit F7 you will be prompted with a MS-DOS style window. From this window you can choose one of the previously issued commands and run it again.

This just goes to prove that you can use the same OS for a few years and still discover new things.

Advertisements

3 thoughts on “Command history

  1. The same thing can be accomplished by arrows keys (the same way as in Linux). You have the list of the commands you have issued in the command line window. I used especially for “build” and “build clean” when building with ANT.
    But I must admit I didn’t know about the F7 “hidden feature”.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s