# Command: tee

      TEE saves a copy of the input (STDIN) to one or more files and prints it.

## Syntax:

      tee [options] [d:][path]file [[d:][path]file2] ...
          [d:][path]file [[d:][path]file2]  Specifies the output file(s).

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## Options:

      /A  Append to given file(s): Append to the output file(s) instead of
          overwriting.
      /I  Ignore interruptions: ignores interruption attempts by a user.

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## Comments:

      TEE reads data from standard input and writes to standard output as
      well as any files specified by the user.
      TEE comes with two default builds. TEE.EXE is TEE build with kitten
      support. _TEE.EXE is built without kitten.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## Examples:

      echo "Hello, World!" | tee hello.txt
        Displays "Hello, World!" on the screen and saves it to hello.txt.
      tee log.txt another_log.txt < input.txt
        Displays the contents of input.txt and save them to log.txt and
        another_log.txt.
      catdoc letter.doc | tee /I letter.txt | wc
        Saves the contents of letter.doc as processed by catdoc to letter.txt
        and passes them to wc to count the words.
        Doesn't allow interruptions by a user.

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      more
      undelete

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

      Copyright © 2008 W. Spiegl.

      This file is derived from the FreeDOS Spec Command HOWTO.
      See the file H2Cpying for copying conditions.