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 NameDefault LocationDos Ver.Win Ver.SizeDateSource
More.comc:\windows\command 7.0Win95 10 471111/07/95win95_08.cab
7.1Win95 (OSR2.x) 10 471224/08/96win95_13.cab
Win98 10 471211/05/98win98_28.cab
Win98 SE 10 471223/04/99win98_25.cab

Superscripts denote which same size files, if any, are identical (using FC).


This page last revised:
August 28, 2000.