Command Prompt Tricks and Hacks
The Windows Command Prompt tool, and many of its commands might seem boring or even relatively useless at first glance, but as anyone who has ever used the Command Prompt very often can tell you, there’s much to love!
1. View a Command’s Results One Page (or Line) at a Time :
Ever run a command, like the dir command, that produces so much information on the screen, One way around this is to execute the command in a special way so whatever information is generated is shown to you one page, or one line, at a time.
One of my other CMD hacks (which you’ll see below) provides a different solution to this problem using something called a redirection operator.
For example, executing dir /s | more will generate the thousands of lines of results that you expect from the dir command, but the more command will pause each page of results with — More — at the bottom of the page, indicating that the command is not done running.