Quincy Center for Technical Education
Computer Technology Department

More

Displays one screen of output at a time. This command is commonly used to view long files. You can use this command by iteself or use it to control the output of another command, such as the type command. When the display fills the available viewing area, the more prompt appears, and you can enter any one of a number of commands to control how you view the rest of the file.

command name | more [/c] [/p] [/s] [/tn] [+n]

more [[/c] [/p] [/s] [/tn] [+n]] < [drive:] [path] filename

more [/c] [/p] [/s] [/tn] [+n] [files]

Parameters

[drive:] [path] filename

Specifies the file to display.

command name

Specifies a command whose output will be displayed.

/c

Clears screen before displaying page.

/p

Expands form-feed characters.

/s

Changes multiple blank lines to one blank line.

/tn

Changes tabs to n spaces.

+n

Displays first file beginning at the line specified by n.

files

Specifies list of files to display. Separate file names with a space.

More subcommands

The following commands are accepted at the more prompt (-- More --) .

Key

Action

space

Display next page.

ENTER

Display next line.

F

Display next file.

q

Quit.

?

Show available commands.

=

Show line number.

P n

Display next n lines.

S n

Skip next n lines.

 

For more information, click Filter commands, Redirection symbols, Dir, or Type in the Related Topics list.