Woot! We got it working!!
I will have to thank Edwin for writing this, once it is working it does a great job.
The two things that seemed to be holding us up were:
- a missing temp folder
- some missing delimiters in a for statement in the lic_log.bat file.
The missing temp folder needed to be created under the log folder.
The missing delimiters were: