Symptoms

You are trying to pass a negative number as a report parameter on the Report Commander command. For example:

adcrutil.exe -report="report.rpt"  -exportformat=html -exportfile="report.htm" -parameters "-1"

Report Commander fails with the following message: 

Error: Option "parameters": No value specified
Error: Unrecognized parameter: "1"

Cause

When processing the command-line options, Report Commander sees the "-" symbol as the start of a new option named "1", which it does not recognize.

Resolution

To avoid this problem, you must "escape" the value by including a backslash ("\") character in front of the minus sign (hyphen) as in this example:

adcrutil.exe -report="report.rpt"  -exportformat=html -exportfile="report.htm" -parameters "\-1"