MORE.COM is a very useful command in MS-DOS, because sometimes it is more convenient to read text files without opening them with a text editor. In this situation, MORE.COM is a very useful tool to do that. When you want to make your computer display the contents of a text file, you can use the TYPE command. However, TYPE command doesn't pause when there is more than a screen of text. This will be very incovenient for you to read the text. MORE can solve this problem. MORE uses standard input stream to get source text and uses standard output to display the text, and during the display, it pauses at every screenful of text. This enables you to use MORE in a wide range of affairs, such as reading a long text file, or reading a long help information of a command. The basic usage of this command is very simple: MORE<textfile.txt
. Another format is TYPE textfile.txt|MORE
. Also this format can be used when you want to see a program's output page by page: LAME --longhelp|MORE
. For more information, see the help text listed below (from Windows NT 4.0 Help; for the MORE command in Windows 9x/DOS, use "MORE /?" command to get help).
C:\>more /? Displays output one screen at a time. MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]] MORE /E [/C] [/P] [/S] [/Tn] [+n] [files] [drive:][path]filename Specifies a file to display one screen at a time. command-name Specifies a command whose output will be displayed. /E Enable extended features /C Clear screen before displaying page /P Expand FormFeed characters /S Squeeze multiple blank lines into a single line /Tn Expand tabs to n spaces (default 8) Switches can be present in the MORE environment variable. +n Start displaying the first file at line n files List of files to be displayed. Files in the list are separated by blanks. If extended features are enabled, the following commands are accepted at the -- More -- prompt: P n Display next n lines S n Skip next n lines F Display next file Q Quit = Show line number ? Show help line <space> Display next page <ret> Display next line C:\>