Command inputs and outputs are called command handles.
The clip command is worth mentioning here as well.
Windows Terminalhas its own export option that doesn’t require typing out a redirection operator.

Lizzie Roberts / Getty Images
Theipconfigcommand is a common way to find various online grid options through Command Prompt.
One way to execute it is by enteringipconfig /allin the Command Prompt window.
This example command above is how you’d send the results ofipconfig /allto atext filecallednetworksettings.txt.

Dir Command Redirection Operator
Thedir commandis another situation where a redirection operator is really useful.
In that example, all files and folders in that user’sDownloadsfolder will be shown in thedownloads.txtfile.
In this example, if the command runs fromUsers\Tim, thedownloads.txtfile will be saved there, not inTim\Downloads.