home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…ids, Adults, Educational / RocelcoInc-ExploreTheWorldOfSoftware-KidsAdultsEducational-Vol2-Shareware.iso / educate / disk067 / piping.hlp < prev    next >
Encoding:
Text File  |  1985-09-10  |  1.1 KB  |  34 lines

  1. ------------------------  PIPING ("|") - A DOS Feature  ------------------------
  2.  
  3. PIPING allows programs to be chained together with automatic redirection of the
  4.    screen output of one program as the keyboard input to another program.
  5.  
  6. FORMAT:   |
  7.  
  8. REMARKS:
  9.  
  10.    The bar |, which activates piping, is placed between commands.  DOS uses
  11.    special temporary files of the name %PIPEx.$$$ to pass screen output to the
  12.    chained program.
  13.  
  14. EXAMPLES:
  15.  
  16. Display sorted information for the current directory on the default drive.  The
  17. screen output of the DIR command is passed as keyboard input to the SORT
  18. command:
  19.  
  20.            DIR | SORT     or     DIR|SORT    (spaces around | are optional)
  21.  
  22.  
  23. Display the file MYFILE and pause when the screen is full.  MYFILE is in the
  24. current directory on the default drive:
  25.  
  26.            TYPE MYFILE | MORE
  27.  
  28.  
  29. Display the directory information for files in the current directory of the
  30. default drive that have the string "FY85" in the filename or filename extension.
  31. Sort the display by filename/extension and present it one full screen at a time:
  32.  
  33.            DIR | FIND "FY85" | SORT | MORE
  34.