3.349 bytes

Service Hints & Tips

Document ID: YAST-3G6SR7

Aptiva - The MORE command

Applicable to: World-Wide

The MORE command is entered from the DOS command prompt. When the command is entered, data is read from the standard input device, a screen full of data is sent to the monitor and then pauses with the message '--More' command. You can then press any key to send another screen of data to the standard output device. This process will continue until all the input data has been read.

This command, often called a "pipe", is used most often with other commands such as DIR. For example, suppose you wished to do a directory of your hard disk but the number of files listed was greater than would fit on one screen. You would use the MORE command to prevent the data from scrolling up the screen. After a screen of data has been displayed with the command, you can press a key on the keyboard to display the more data, one screen at a time.

Usually, the MORE command is used with either redirection (i.e., < or >) or piping (i.e., |, which is created by pressing [Shift]+[\]). For example, to pipe the output of the DIR command through the MORE filter, you would use the following command:

DIR | MORE

When the screen is full, the system will display the message --More on the bottom line. You would then press a key to see the next screen.

To show the contents of the TEST.TXT file displayed one screen at a time, you would use the following command:

MORE <TEST.TXT

Search Keywords

Hint Category

DOS/Windows 3.x

Date Created

15-04-97

Last Updated

09-03-99

Revision Date

09-03-2000

Brand

IBM Aptiva

Product Family

Aptiva, PS/1

Machine Type

2134, 2136, 2137, 2138, 2140, 2142, 2144, 2159, 2161, 2162, 2168, 2176, 2011, 2121, 2123, 2133, 2155

Model

ALL

TypeModel

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes