The command: "MORE" is on Windows 11, 10, .. available
The
`MORE` command in Windows Command Prompt is used to display the contents of text files one page at a time. Here are some examples of using the
`MORE` command:
Example 1: Displaying the contents of a text file:
MORE filename.txt
Description: Displays the contents of the text file
"Filename.txt" page by page. You can scroll through the pages by pressing the space bar and pressing
"Q" exits the display.
Example 2: Displaying the contents of a text file with line numbers:
MORE +10 filename.txt
Description: Displays the contents of the text file
"Filename.txt" starting at line 10. You can change the line number to
`+` to start from a different line.
Example 3: Viewing the contents of a text file and searching for a pattern:
MORE filename.txt | FIND search pattern
Description: Displays the contents of the text file
"Filename.txt" page by page, filtering for the specified search pattern using the
`FIND` command.
Example 4: Displaying text generated by another command:
DIR /B | MORE
Description: Displays the output of the
`DIR` command (list of files and directories) page by page.
Example 5: Displaying the help content of a command:
HELP | MORE
Description: Displays the help content of the
`HELP` command page by page.
Example 6: Viewing the contents of multiple files:
MORE File1.txt File2.txt
Description: Displays the contents of multiple text files page by page, allowing you to scroll through the pages.
Example 7: Displaying the contents of a text file and pausing after each screen:
MORE /P filename.txt
Description: Displays the contents of the text file
"Filename.txt" and pauses after each screen page. You can continue scrolling with the space bar or end with
"Q".
These examples show various use cases for the
`MORE` command in the Windows Command Prompt. You can combine the
`MORE` options to tailor the command to your specific needs. Note that some features may vary depending on the version of Windows. You can access the help of the
`MORE` command with
`MORE /?` to see more options.