Tech

Guides
 

Display a full Windows command-prompt history

By Greg Shultz, Special to ZDNet Asia
Tuesday, June 02, 2009 12:01 PM
By changing the size of this history list, you can all commands you've typed in a particular session and avoid frustration.

If you often work from a Microsoft Windows command prompt, chances are you know that you can 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 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. However, there's an easier way to see all those commands.

At the command prompt, enter the following:

doskey /history

You'll see a full listing of all the commands that you've entered in a current session (Figure A).

Figure A

A list shows my last few commands have been ping commands

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

Greg Shultz is a documentation specialist for MediaBank. Previously, he worked as technical journalist in the computer publishing industry.



WORTHWHILE?

0

0 votes
Blog

Talkback 0 comments

There are currently no comments for this post.


Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Whitepapers/Case Studies

Downloads

Windows Server News

 
Virtualize your way to cost savings
Build an infrastructure that is flexible, scalable, and economical, as you strive to become a truly agile business.

Red Hat Outlines Its Virtualization Strategy and Roadmap for 2009
» Watch the video





Tech Jobs Now!

Tags

  1. domain controller
  2. environment
  3. group policy
  4. hardware
  5. infrastructure / architecture management
  6. microsoft windows
  7. microsoft windows active directory
  8. microsoft windows powershell
  9. microsoft windows server
  10. microsoft windows server 2003
  11. microsoft windows server 2008
  12. network
  13. ohio
  14. rick vanover
  15. server
  16. server platforms
  17. servers
  18. storage
  19. tool
  20. virtualization