I have written same scripts to check GroupWise Archives in batch mode.
The script uses an archive.opt file as input.

The archive.opt file contains this code:
<?xml version="1.0" encoding="UTF-8"?>
<action name="expire-reduce-messages">

The commandline in the batchfile is:
"c:\Program Files\Novell\GroupWise\GWCheck\gwcheck.exe" /l-en /opt-archive.opt /batch /pa-j:\GW_ARC\of00karc

The j:\GW_ARC\of00karc points to the archive that needs to be checked. I have a batch with over 200 of these lines pointing to different archives.

When running, a log file is generated in d:\log\archive.log.
This logfile is overwritten when the next check runs.

I would like to have the logfile also as a variable, so I can keep the logs and review them after the batch has finished running.

Is there a option in GWCheck that I am not aware of to do this?
Or should I use rename d:\log\archive.log d:\log\[name of checked archive].log after each GWCheck?