>"Opart 3.exe" -nographics Test1.sce
would run the scenario Test1 in Elmer vs. Elmer mode from beginning to end, producing whatever output files that are set in the ini file (sitrep logs, toaw_log.txt and/or screen dumps).
>"Opart 3.exe" -nographics Test1.sal
would resolve all planned attacks (if any) in the save file Test1.sal and quit, producing output as above.
Given these features, it is simple to write a script that has the computer run any number of replications of a whole scenario or setup situation, and then performs whatever post-processing you want. For instance, someone more skilled in image processing than I would probably be able to produce images of average forward edge of battle advance from the screen dumps generated from repeated Elmer vs Elmer runs. If VP information were included in the sitrep log, it would be easy to produce statistics for victory points as a function of turn.
As an example, I have written a crude script that (assuming that the above feature exists) would work in the following manner:
> TOAWbatch Test1 1000
- resolves attacks planned in the save file Test1.sal (provided it exists) 1000 times
- stores the sitrep logs and toaw_log.txt in consecutively numbered directories, Run0 through Run999
- Collects information about force 1 losses of rifle squads from all runs
- Outputs, e.g.: "Mean losses of Rifle Squad for 1st Force: 345.7 +-21.34"