|© Copyright Clive E. Chapman 2008. All rights reserved.|
|This page||Other pages|
|Usage Notes||FL User Guide|
|FLCUST User Guide|
|FLFIND User Guide|
|FLTREE User Guide|
|FLVIEW User Guide|
TEE is a simple command-line tool that reads data from a pipe, and writes that data to standard output (usually the screen), and to a file. The data must be character data; if TEE is used with binary data, the results are undefined.
TEE would typically be used from the command line, or from a batch file (for example, a BAT file or REX file).
TEE [[drive][path]name.ext] [/A] [/?]
where square brackets [ ] denote optional items. Parameters and options are as follows:
If this parameter is not specified, the output data is written only to standard output.
Options can be specifed using either "/" or "-" as the option prefix character, and can occur before or after the positional parameters. The following options are valid:
If this option is not specified, the output replaces the file.
DIR *.BAT | TEE DIR.OUT
DIR *.EXE | TEE DIR.OUT /A
ATTRIB | TEE ATTR.OUT
|Page last changed: 2008-07-25|