|
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 | Version | Size | Date | Default Location |
| More.com |
Win95: Upgrade | 10 471 | 11/07/95 | c:\windows\command |
| Win95: OSR2.5 | 10 471 | 24/08/96 | c:\windows\command
|
|