more(CMD) 19 June 1992 more(CMD) Name more - display one screen of output at a time Syntax more < [drive:][path]filename command-name | more Description 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. Parameters [drive:][path]filename Specifies the location and name of a file that supplies data you want to display. command-name Specifies the command that supplies data you want to display. Notes Sources of data When using the redirection character (<), you must specify a filename as the source. When using the pipe (|), you can use such commands as dir, sort, and type. Before using a pipe for redirection, you should set the TEMP environment variable in your AUTOEXEC.BAT file. Examples Suppose you have a long file named CLIENTS.NEW that you want to view on your screen. Either of the following two commands redirects the file through the more command to begin displaying the contents of the file: more < clients.new type clients.new | more The more command displays the first screen of information from CLIENTS.NEW and then prompts you with the following message: - More - You can then press any key to see the next screen of information. Related commands For information about displaying the contents of a directory, see the dir(CMD) command. For information about displaying the contents of a file, see the type(CMD) command.