Heres another concept - when you create the report, you include an INI section at the bottom of the report - and replicate the details in a machine-readable format. Kinda like this:
Code:
******************************************************************
Results of Backup_for_IDubbelboer_on_January_15_2006
******************************************************************
The backup of files took 0:03:31 to complete.
The following files, if any, were skipped as they were in use.
The compression and encryption of the backup file took 0:19:21 to complete.
The splitting of the compressed backup file took 0:02:26 to complete.
The file was split into 2 parts.
It took 0:03:00 to burn the 2 CD(s).
CD 1 took 0:00:40 to burn.
CD 2 took 0:02:20 to burn.
Backup completed successfully on 2006/01/15
[Data]
Language=English
CDBurnTime=0:03:31
CDBurnCount=2
Then in your script, just read the stuff and the language wouldn't matter.
Code:
break on
$Profile = ".\file.rpt"
$CDBurnTime = ReadProfileString($Profile,"Data","CDBurnTime")
$CDBurnCount = ReadProfileString($Profile,"Data","CDBurnCount")
?"time=" $CDBurnTime
?"count=" $CDBurnCount
exit 0
Just throwing the idea out there - not sure if I would personally take this approach or not.