Site Meter Microsoft Talk » Blog Archive » Windows: View Command Prompt History

Windows: View Command Prompt History

by Alpesh Nakar

Are you a command prompt junkie? Well then you could do with this tip!

Did you know that you could cycle through a list of all the commands that you’ve typed in a particular session using the up and down arrows on your keyboard.

You can also change the size of this history list by clicking the command button in the upper left corner, selecting the Properties command and and then changing the buffer size number on the Options tab under Command History.

By default, the buffer size is set to 50, which means that the command history can potentially contain a lot of commands, making it difficult to cycle through all the commands that you’ve typed by using the up and down arrows on your keyboard. Fortunately, there’s an easier way.

At the command prompt, enter the following command:

DOSKEY /history

When you do so, you’ll see a full listing of all the commands that you’ve entered in a current session.

Note: This tip applies to both Windows XP Home and Windows XP Professional.

VIA TechRepublic


2 Responses to “Windows: View Command Prompt History”

  1. Joel C. Says:

    How do you recall the command history in windows Vista, since it is not the same??

  2. Brick ONeil Says:

    Hi, Joel, thank you for commenting. I do not know the answer, but I will research and get back to you.

Leave a Reply


About Microsoft Talk

My name is Brick ONeil, and I’ve been with the 451 Press Network since March 2007. I’m the new blogger for Microsoft Talk. We’ll be discussing ‘About Microsoft’ itself. What’s happening, who’s coming/going, what new technologies they’re coming out with, updates and upgrades. I’ll try to bring you news each day that impacts your daily life and use of Microsoft products, or just interesting information I think you’ll enjoy

Microsoft Talk Author(s)
    » Brick-ONeil

Technology Channel Posts

Hot Off The Press