Jump to content

Examine the history of the command prompt


Recommended Posts

Examine the history of the command prompt

In the days of MS-DOS, a special application called Doskey was used to maintain the history of commands executed in the command line environment. A modern version of Doskey is also present in Windows XP.

By default, the command prompt remembers every command that has been entered, which makes them readily available for you to use again. Here are some keyboard shortcuts that will help you navigate the command prompt history:

• Up and down arrows: These allow you to scroll up or down through the history of commands.

• Right and left arrows: These move the insertion point backward or forward, character by character.

• [F7]: This displays the whole command history on the screen. From the list, you can select and run a command by hitting [Enter].

• [F9]: If you remember the number of the command on the list, press [F9] and type the number.

• [Esc]: This clears the prompt.

• [backspace]: This lets you manually delete characters in the prompt.

• [Alt][F7]: This clears the command history.

• [F8]: This allows you to search through the commands in the history buffer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...