home *** CD-ROM | disk | FTP | other *** search
- Using The MORE Filter Command
-
- Chuck Harrington
- Athens Ohio Area IBM-PC User's Club
-
- Have you ever used the DIR command to
- list the directory of a diskette only
- to sit and watch the filenames scroll
- off the screen? You can use the pause
- option with the DIR command to permit
- DOS to take a break while you view a
- single screenful. The precise command
- is DIR/P. When you want another
- screenful, simply strike any key.
-
- Have you ever wished there was a
- similar command that could be used to
- pause the screen when listing a text
- file on the console? You could use
- the CTL/NUM-LOCK, but you would also
- need to keep an eye on the screen and
- both hands on the keyboard.
-
- You may wish to have the save pause
- effect when typing a listing.
- Suppose you wish to type the text
- file called PC-WRITE on your console.
- Make sure the DOS utility program
- called MORE.COM is on the disk or
- available to the system. Simply enter
- the command line MORE<PC-WRITE.DOC.
-
- MORE will list a single page of text
- on your console and display the
- message --MORE--. When you depress
- any key, another screen is typed.
- Great, but care must be taken to
- enter this correctly. Note that the
- MORE filter command requires "<" and
- NOT ">". If you enter the wrong one,
- you will destroy your text file. The
- effect will be that the console
- apparently locks up. As you try
- entering keystrokes, they are sent to
- the text file to replace your
- original text. The old CTRL/BREAK key
- to regain control of your machine
- sends an end of file to the text file
- and returns you to the DOS prompt.