more | \ windows \system32\more.com |
more displays one screen of text at a time. More is often used as a filter with other commands that may send a lot of output to the screen (i.e., to read standard input from a pipe or redirected file). Press any key to see the next screenful of output. Press Ctrl-C to end the output before it is done. more accepts the following options:
more /e [/c] [/p] [/s] [/tn] [+n] [ filename ] more [/e [/c] [/p] [/s] [/tn] [+n]] < filename {some other command} more [/e [/c] [/p] [/s] [/tn] [+n]]
Option | Description |
---|---|
filename | Specifies the name of a file to display. |
/c | Clears the screen before displaying file. |
/e | If the /e option is specified, the following additional extended commands are available at the -- More -- prompt: P n : display next n lines, S n : skip next n lines, Spacebar: display next page, Enter: display next line, F : display next file, Q : quit, = : show line number, ? : show help. |
/p | Expands form-feed characters . |
/s | Squeezes multiple blank lines into a single line. |
/t n | Expands tabs characters to n spaces (default 8). |
/+ n | Starts display of the file at line n . |
C:\> more c:\windows\readme.txt C:\> type c:\windows\readme.txt more C:\> dir c:\windows more