MORE
Displays the output one screen at a time.
MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename
commandname | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
MORE /E [/C] [/P] [/S] [/Tn] [+n] [file]
Where:
[drive:][path]filename
- Specifies a file to display one screen at a time.commandname
- Specifies a command whose output will be displayed./E
- Enables extended features./C
- Clears the screen before displaying the page./P
- Expands form feed characters./S
- Converts multiple blank lines into a single blank line./Tn
- Expands tabs ton
spaces (default is 8).+n
- Begins displaying the first file at line n.file
- Specifies a list of files to display. Files in the list must be separated by spaces.
If extended features are enabled, you can also add the following to -- More --
:
P n
- Displays the nextn
lines.S n
- Skips the nextn
lines.F
- Displays the next file.Q
- Quits.=
- Shows the current line number.?
- Displays available options (like this:[Options:psfq=<space><enter>]
).- <space> - Displays the next page.
- <enter> - Displays the next line.
Examples:
1. Display the file C:\AHH!.txt
one screen at a time with extended features enabled, clears the screen before displaying, and starts from the fourth line:
more /e /c +4 < "C:\AHH!.txt"
2. Display the HELP
command output one screen at a time with extended features enabled, clears the screen before displaying, collapses multiple blank lines, and expands tabs to 5 spaces:
help | more /e /c /s /t5
3. Display the files C:\Hello handsome!.txt
and C:\Hello ugly!.txt
one screen at a time with extended features enabled, clears the screen before displaying, and expands form feed characters:
more /e /c /p "C:\Hello handsome!.txt" "C:\Hello ugly!.txt"
Comments