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]
command | a command whose output is to be displayed. |
filename | file(s) to display one screen at a time |
Notes:
- 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.
- When using the pipe (|), the source can be commands such as DIR and SORT as well as TYPE.
- The display can be terminated at any time by pressing Ctrl-C.
- 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 Name | Default Location | Dos Ver. | Win Ver. | Size | Date | Source |
More.com | c:\windows\command |
7.0 | Win95 |
10 4711 | 11/07/95 | win95_08.cab |
7.1 | Win95 (OSR2.x) |
10 4712 | 24/08/96 | win95_13.cab |
Win98 |
10 4712 | 11/05/98 | win98_28.cab |
Win98 SE |
10 4712 | 23/04/99 | win98_25.cab |
Superscripts denote which same size files, if any, are identical (using FC).
|