Page 1 of 1
Windows Task Manager to run files
Posted: Tue Feb 26, 2002 5:16 pm
by Greg_(Guest)
If I want to run the report C:program filesR&R Report__WritersampleBasic Columnar Report, I would change the run line in Windows Task manager from:__"C:Program FilesR&R Report Writer
rw.exe"__to "C:Program FilesR&R Report Writer
rw.exe" /R"C:program filesR&R Report WritersampleBasic Columnar Report.RRW" /G____This will then launch RRW.EXE at the designated time and then run this__report and print it to paper.____What I^m looking for is an additional script that will cause the report to export, under a specific filename, to a specific directory on my PC.____Does anyone know if there is logic for that task? __
=> Windows Task Manager to run files
Posted: Tue Feb 26, 2002 6:56 pm
by kfleming
Create a text file called INPUT.TXT with the contents____RI_REPORT=C:program filesR&R Report WritersampleBasic Columnar __Report.RRW__RI_PRINTER=A__RI_OUTFILE=C:my documentsoutput.txt________Your command line then becomes __C:program filesR&R Report WriterRWrrwrun.exe" /T"C:program filesR&R Report WriterINPUT.TXT"____This will then launch RRWRUN.EXE at the designated time and __then run the report specified as the RI_REPORT value in the text file and create the ASCII text file C:my documentsoutput.txt____Check out the Developing Applications section of the help file for more information on using the RRWRUN.EXE runtime executable. You can supply lots of different parameters beyond those listed above.____Kathleen__R&R Support
==> RE: Using Windows Task Manager
Posted: Wed Feb 27, 2002 5:35 pm
by theflash
I have accomplished the same end result w/ more ease and greater flexibility by using RapidRun.exe instead of RRW.exe (v 9.0). Simply set up a new RapidRun file set (*.set) with the report/s to run, select output destination and paramaters where applicable, and then run the same command line syntax for RapidRun.exe and "somefile.set" instead of RRW.exe. Example____myset.set - runs several reports exporting to different output types.____command prompt syntax would be:____"c:RRdirectory
apidrun
apidrun.exe" "c:myreportsmyset.set" /r____There ya have it!!____Michael