fortypoundhead.com

MORE

Posted On 2005-11-1 by FortyPoundHead
Keywords: Command Reference
Tags: Windows Commandline Windows
Views: 1553


MORE



Display output one screen at a time. MORE can be used to run any executable command (or batch file) and pause the screen output one screen at a time. MORE can also be used to TYPE the contents of any file to the screen.



syntax

command | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]

MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < Pathname

MORE /E [/C] [/P] [/S] [/Tn] [+n] [Pathname(s)]key

command : Any executable command or batch file

Pathname : The file to be displayed. (if more than one separate with spaces)

/E : Enable extended features

/E /C : Clear screen before displaying page

/E /P : Expand FormFeed characters

/E /S : Squeeze multiple blank lines into a single line

/E /Tn : Expand tabs to n spaces (default 8) /E +n : Start displaying the first file at line n

You can create an environment variable called %MORE% and use this to supply any of the above switches.

When MORE is used without any redirection symbols it will display the % complete e.g.



MORE /E myfile.txt

--More (17%) --



If extended features are enabled, (/E) the following keystrokes can be used at the -- More -- prompt:





Display next page

Display next line Q Quit P n Display next n lines S n Skip next n lines F Display next file = Show line number ? Show help line




About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:107.22.30.231

Before you can post, you need to prove you are human. If you log in, this test goes away.



Recent Forum Posts

List of Shady Characters
dwirch posted on April 25, 2017 at about 16:39 in Webmaster Stuff

Job Spammer: Bilal Uddin
dwirch posted on April 25, 2017 at about 11:00 in Spammers

Bug Fix: Contact Form Error
dwirch posted on April 21, 2017 at about 11:38 in Site News

Bug Fix: Ophion Time Tracker
dwirch posted on April 9, 2017 at about 11:30 in Site News

Job Spammer: Yogesh Kapadne
dwirch posted on March 31, 2017 at about 8:04 in Spammers

Job Spammer: Sathya Narayana
dwirch posted on March 15, 2017 at about 7:18 in Spammers