home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / MISC / TNH_PC.ZIP / HARRINGT.NL < prev    next >
Encoding:
Text File  |  1987-01-14  |  1.6 KB  |  50 lines

  1. Using The MORE Filter Command
  2.  
  3.            Chuck Harrington
  4.   Athens Ohio Area IBM-PC User's Club
  5.  
  6. Have you ever used the DIR command to
  7. list the directory of a diskette only
  8. to sit and watch the filenames scroll
  9. off the screen? You can use the pause
  10. option with the DIR command to permit
  11. DOS to take a break while you view a
  12. single screenful. The precise command
  13. is DIR/P. When you want another
  14. screenful, simply strike any key.
  15.  
  16. Have you ever wished there was a
  17. similar command that could be used to
  18. pause the screen when listing a text
  19. file on the console? You could use
  20. the CTL/NUM-LOCK, but you would also
  21. need to keep an eye on the screen and
  22. both hands on the keyboard.
  23.  
  24. You may wish to have the save pause
  25. effect when typing a listing.
  26. Suppose you wish to type the text
  27. file called PC-WRITE on your console.
  28. Make sure the DOS utility program
  29. called MORE.COM is on the disk or
  30. available to the system. Simply enter
  31. the command line MORE<PC-WRITE.DOC.
  32.  
  33. MORE will list a single page of text
  34. on your console and display the
  35. message --MORE--. When you depress
  36. any key, another screen is typed.
  37. Great, but care must be taken to
  38. enter this correctly. Note that the
  39. MORE filter command requires "<" and
  40. NOT ">". If you enter the wrong one,
  41. you will destroy your text file.  The
  42. effect will be that the console
  43. apparently locks up. As you try
  44. entering keystrokes, they are sent to
  45. the text file to replace your
  46. original text. The old CTRL/BREAK key
  47. to regain control of your machine
  48. sends an end of file to the text file
  49. and returns you to the DOS prompt.
  50.