The Connect:Direct® for Microsoft Windows CLI supports the following piping conventions:
- <filename.ext uses the file for input
- >filename.ext uses the file for output
The following example demonstrates the Connect:Direct piping convention being used on a COMMANDS.TXT file containing the Connect:Direct commands you want to issue.
By typing the following command, you can execute all of the commands in the COMMANDS.TXT file.
Note: A batch file can also be created containing the direct < commands.txt line if you want to execute these commands from a batch file.