Displays one screen of output at a time.
The MORE command reads standard input from a pipe or redirected file and displays one screen of information at a time. This command is commonly used to view long files.
MORE /?
MORE [/E [/C] [/P] [/S] [/Tn] [+n]] [drive:][path]filename(s)
MORE [/E [/C] [/P] [/S] [/Tn] [+n]] [<] [drive:][path]filename
command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
For information about displaying the contents of a directory,
see the DIR command.
For information about displaying the contents of a file, see the
TYPE command.
ECHO - display variables.
Equivalent Linux BASH commands:
more - Display output one screen at a time.
less - Display output one screen at a time.
When using the redirection character (<), you must specify a filename as the source. When using the pipe (|), you can use such commands as DIR, SORT, and TYPE. Before using a pipe for redirection, you should set the %TEMP% environment variable in your AUTOEXEC.BAT file.
You can create an environment variable called %MORE% and use this to supply any of the switches.
When MORE is used without any redirection symbols it will display the % complete e.g.
MORE /E myfile.txt --More (17%) --
If extended features are enabled, (/E) the keystrokes can be used at the -- More -- prompt:
Suppose you have a long file named CLIENTS.NEW that you want to view on your screen. Either of the two commands redirects the file through the MORE command to begin displaying the contents of the file:
MORE < CLIENTS.NEW
or
TYPE CLIENTS.NEW | MORE
The MORE command displays the first screen of information from CLIENTS.NEW and then prompts you with:
-- More --
You can then press any key to see the next screen of information.
none.