Report Commander version 2
Sometimes Report Commander returns a 'Windows Return Code = 255', but everything seems to work normal and the .pdf file is created.
Our job schedule then reports this as an error.
Trying to determine why the error and not just tell the job scheduler to skip if 255.
simple bat file
set CRREPORT=Opts-Report-01b-Inventory-by-class-all-locations
set OUTPUTTYPE=DeliverNow
set OUTPUTFILE=Opts01B-Inv-byclass_
set skipifempty=-suppressempty
"C:\Program Files\Arcana Development\Report Commander 2\adcrutil.exe"^
-report=\\example.com\netshares\SYS\cr\%CRREPORT%.rpt^
-login!=:^
%skipifempty%^
-refresh^
-exportformat=PDF^
-exportfile=\\example.com\netshares\SYS\p21\p21\%OUTPUTTYPE%\%OUTPUTFILE%@now("yyMMdd-HHmmss").pdf