Redirection of output to a file
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
You can redirect output to a file by using the command. After you have defined the filename by using , subsequent output is written to that file instead of the console. However, errors are still written to the screen, unless you specify .
By default, piconfig echoes input commands in the output file. If you want to prevent this, use to force only retrieved data to go to the output file.
You can also redirect output by using the character in the command line. The following example redirects both input and output; it runs the commands in list.inp and redirects the output to the file output.txt.
C:\PI\adm>PICONFIG < list.inp > output.txt