Redirection

You can use redirection operators to redirect command input and output streams from the default locations to different locations. The default location for input is keyboard and default location for output is the shell's display screen. The following table lists operator that you can use to redirect command input and output streams.

>

Writes the command output to a file or a device instead of the shell's screen.

<

Reads the command input from a file, instead of reading input from the keyboard.

>>

Appends the command output to the end of a file without deleting the information that is already in the file.

|

Reads the output from one command and writes it to the input of another command. Also known as a pipe.


FireCMD does not explicitly support redirection to devices but when it finds devices such as printer as an operand to the redirection operator it handles it by sending the command string to cmd.exe for further processing.


Documentation Index Page