home *** CD-ROM | disk | FTP | other *** search
- COMMAND: redirection of standard input and output
-
- FUNCTION: Allows a program to receive its input from a source other than the
- keyboard or to direct its output to a device other than the display
- screen.
-
- FORMAT: program [ > [d:][path]filename[.ext]]
- [>> [d:][path]filename[.ext]]
- [ < [d:][path]filename[.ext]]
-
- TYPE: Advanced DOS feature
-
- REMARKS: > causes the file specified to be created and then assigns the
- standard output to that file.
- >> causes the file specified to be opened and then appends the
- standard output to the end of the file.
- < causes the standard input to be taken from the file specified
- instead of from the keyboard.
- Redirection only works for those applications that use DOS function
- calls to perform standard input and/or output.