Command Runner

The Command Runner program (adcrutil.exe) allows you to print, export, and e-mail reports, using command-line options to control all aspects of the export process.

If you really enjoy stringing together command-line arguments for console-mode programs, you can dive right in with the command-line syntax reference. Many users will prefer to use the Command Line Builder, which lets you select processing options using a graphical user interface. It then creates a command line that you can use to execute the report using the Command Runner. See the Command Line Workflow topic for more information.

Once you have your command line built, you can run it from a command prompt, batch file, scheduler, or other automation tool. See the Scheduling Report Execution topic for more information.

Logging and Diagnostics

The program runs as a console-mode program. It writes some progress messages and all warning and error messages to the console (you can use the logging options to adjust the level of information written to the console).

If errors occur, no error information is displayed other than what is written to the console (i.e., no error window is displayed). Therefore if you are running the Command Runner automatically through an automation tool you should configure Report Commander to create a log file when it runs, so you can review the log for messages if things do not work correctly.

The program returns an exit code as follows: