Hi there

I remember someone wishing being able to generate automatically multiple
reports. I use the following WinNT command line to automate the process:

for %%A in (c:\lotus\domino\data\*.nsf) do "c:\programs\analog 4.04\analog"
-G +C"FILEINCLUDE %%~nA.nsf" +gmultireport.cfg +C"OUTFILE c:
\lotus\domino\data\domino\html\reports\%%~nA.html"

i.e. FOR-command runs Analog once for each *.nfs file on the c:
\lotus\domino\data-directory. The result is a separate report file for each
.nsf-database.

Reports are automatically generated even if new .nsf-databases are created.

Some explaining: %%A refers to the database name in the specified directory
c:\lotus\domino\data. %%~nA strips the path and returns only the file name
without extension. For further reference type HELP FOR in the Command
Prompt. This command is an excerpt from a batch file. If written by hand
you must replace %% with %.


Hope someone has a use for this, Jarmo

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to