Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Data Archive Reference

Redirection of output to a file

  • Last UpdatedJan 13, 2023
  • 1 minute read

You can redirect output to a file by using the @output command. After you have defined the filename by using @output filename, subsequent output is written to that file instead of the console. However, errors are still written to the screen, unless you specify @error filename.

By default, piconfig echoes input commands in the output file. If you want to prevent this, use @echo data 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

TitleResults for “How to create a CRG?”Also Available in