The AutoReport command is used to email a DMS report from a command file. The format of the command is:
AutoReport=Action Name
The Action Name must be setup in Email Reports before it can be used in AutoReport.
The command line below shows an example of how to execute the email report with an action name of “Daily Dispatch Report Email”. The command line gives the UserIniFile location, uses an auto login name of dms, uses the database DMSProduction, executes the report and then logs out of DMS. Note that any command with spaces must be surrounded in quotes:
"C:\Dynafact\Production\DMS\DMSEnt.exe" "UserIniFolder=C:\Dynafact\Production\DMS\User\" AutoUserName=dms "DatabaseName=DMSProduction" "AutoReport=Daily Dispatch Report Email" AutoLogOut
Also see: Automatic Execution Commands