home *** CD-ROM | disk | FTP | other *** search
/ The CIA World Factbook 1992 / k3bimage.iso / sel / 04 / 0034 / iso_0128.iso < prev    next >
Encoding:
Text File  |  1991-12-02  |  909 b   |  21 lines

  1. COMMAND:  redirection of standard input and output
  2.  
  3. FUNCTION: Allows a program to receive its input from a source other than the
  4.           keyboard or to direct its output to a device other than the display
  5.           screen.
  6.  
  7. FORMAT:   program [ > [d:][path]filename[.ext]]
  8.                   [>> [d:][path]filename[.ext]]
  9.                   [ < [d:][path]filename[.ext]]
  10.  
  11. TYPE:     Advanced DOS feature
  12.  
  13. REMARKS:  > causes the file specified to be created and then assigns the
  14.           standard output to that file.
  15.           >> causes the file specified to be opened and then appends the
  16.           standard output to the end of the file.
  17.           < causes the standard input to be taken from the file specified
  18.           instead of from the keyboard.
  19.           Redirection only works for those applications that use DOS function
  20.           calls to perform standard input and/or output.
  21.