More

Index

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, directory output, etc.

Syntax:

MORE filename

MORE < filename

command | MORE [path][filename]

commanda command whose output is to be displayed.
filenamefile(s) to display one screen at a time

Notes:

  1. MORE filename and MORE < filename are essentially synonymous and equivalent to TYPE filename | MORE. In all these cases filename is displayed a screenful at a time. Pressing "Enter" displays the next screen.

  2. When using the pipe (|), the source can be commands such as DIR and SORT as well as TYPE.

  3. The display can be terminated at any time by pressing Ctrl-C.

  4. MORE automatically wraps text to fit the screen

Example:

To view a long file named "clients.new" on your screen, any of the following commands redirects the file through the MORE command to begin displaying the contents of the file:
MORE clients.new
MORE < clients.new
TYPE clients.new | MORE
The MORE command displays the first screen of information and then prompts you with the following message:


data
data
.........
data
--- More ---

Pressing any key will display the next screenful of information.

File Details

File NameVersionSizeDateDefault Location
More.com Win95: Upgrade10 47111/07/95c:\windows\command
Win95: OSR2.510 47124/08/96c:\windows\command

If you should have any comments or suggestions,
please contact: Bob Watson
.
This page last revised:
December 9, 1999.