TechBuzzPro

View Command Prompt Results One Page at a Time

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When you run a command in Command Prompt that outputs a lot of text—like dir on a large folder or help for a lengthy command—the results often scroll past in a blur. This guide shows you two simple ways to pause the output so you can read it one screen at a time: using the built-in more filter and using the more command with a pipe. No extra software is needed; everything works with the standard Command Prompt on Windows 10 and Windows 11.

What You'll Need

  • A Windows PC (Windows 10 or 11) with Command Prompt available.
  • Basic familiarity with opening Command Prompt (press Win + R, type cmd, and press Enter).
  • No administrative rights are required for these methods.

Step-by-Step

  1. Open Command Prompt. Press Windows Key + R, type cmd, and hit Enter. Alternatively, search for "Command Prompt" in the Start menu and click it.
  2. Run your command with a pipe to more. The most reliable way to view output one page at a time is to append | more to the end of your command. For example, to list files in a directory page by page, type:
    dir | more
    This works with any command that produces standard output, such as help, ipconfig, or systeminfo.
  3. Use the more command directly. If you prefer not to use a pipe, you can redirect the output to more using the > symbol. For instance:
    dir > more
    However, note that this form is less common and can behave differently. The pipe method in step 2 is the recommended approach.
  4. Navigate through the pages. When the output pauses, you'll see -- More -- at the bottom of the window. Press Spacebar to display the next page. Press Enter to scroll one line at a time. Press Q to quit and return to the prompt.
  5. Adjust the page size (optional). By default, more shows one screenful (typically 25 lines). You can change this by using the /E switch (enable extended features) or by specifying a number after the command. For example, to show 10 lines at a time, use:
    dir | more /10
    This sets the page size to 10 lines.
  6. Use more with a file. If you've saved command output to a text file, you can view it page by page with:
    more filename.txt
    This is handy for reviewing long logs without opening a text editor.

Common Mistakes

  • Forgetting the pipe symbol. The pipe (|) is a vertical bar, usually on the backslash key. Typing a forward slash (/) instead will not work.
  • Using more with commands that don't produce output. Commands like cd or cls don't generate output, so piping them to more will show nothing.
  • Pressing the wrong keys. Pressing Ctrl+C will terminate the command entirely, not just pause it. Use Q to quit more gracefully.
  • Assuming more works with all commands. Some commands, especially those that write directly to the console rather than standard output, may not be compatible with piping. In such cases, try redirecting to a file first.

Tips

  • Combine with findstr to filter. You can pipe a command to findstr first to filter lines, then to more. Example: ipconfig | findstr /i "IPv4" | more shows only lines containing "IPv4" page by page.
  • Use more with tree. The tree command can produce very long directory listings. Use tree /F | more to view them page by page.
  • Increase window buffer size. If you prefer scrolling back, right-click the title bar of Command Prompt, select Properties, go to the Layout tab, and increase the "Screen Buffer Size" height (e.g., to 9999). This lets you scroll up with the mouse wheel or scrollbar.
  • Save output to a file for later. Instead of paging, you can redirect output to a file with > (e.g., dir > listing.txt) and then open it in Notepad. This is useful for searching or sharing.

Troubleshooting

  • The output still scrolls past. If you see the entire output without a pause, the command may not be using standard output. Try redirecting to a file first: command > output.txt, then use more output.txt.
  • more is not recognized. This is extremely rare because more is a standard Windows command. If it happens, check your PATH environment variable. You can run it with the full path: C:\Windows\System32\more.com.
  • The -- More -- prompt doesn't appear. If the output is shorter than the screen, no pause occurs—that's normal. If the output is long but still no pause, the command might be writing to stderr instead of stdout. Use 2>&1 to redirect stderr to stdout: command 2>&1 | more.
  • Pressing Spacebar doesn't advance. Ensure the Command Prompt window is active (click on it) before pressing keys. Also, if you're using Windows Terminal, the behavior is similar but the prompt might look different; the keys still work.

Frequently Asked Questions

Q: Can I use more with PowerShell?
A: Yes, but PowerShell has its own paging cmdlet Out-Host -Paging (or more alias). The more command also works in PowerShell, but the native approach is command | Out-Host -Paging.

Q: How do I change the number of lines shown per page?
A: Use the /n switch, where n is the number of lines. For example, dir | more /10 shows 10 lines at a time.

Q: What does the -- More -- prompt mean?
A: It indicates that the output is paused and waiting for your input. Press Spacebar for the next page, Enter for one line, or Q to quit.

Q: Can I use more to view a file that is being updated?
A: No, more reads the file once. For real-time viewing, use type with more or consider Get-Content -Wait in PowerShell.

Q: Does more work with commands that require admin rights?
A: Yes, as long as you run Command Prompt as administrator if the command itself needs admin rights. The more filter doesn't affect privileges.

Q: Is there a way to search within the output while paging?
A: more does not have built-in search. You can pipe the output to findstr first to filter lines, or save to a file and use a text editor's search function.