To run commands in batch mode, you must enter them into an XML file with special tagging.
<?xml version="1.0" encoding="UTF-8"?> <commands>
<command name="login" sequence="1">
<option name="url" arg="DOECSocketListenerUrl" />
<option name="pw" arg="DOECUserPassword" />
<option name="u" arg="DOECUuser" />
</command>
<command name="commandName" sequence="sequenceInteger">
<option name="optionNamel" arg="optionValue1" />
<option name="optionName2" arg="optionValue2" />
<option name="optionName3" arg="optionValue3" />
...
<option name="optionNameN" arg="optionValueN" />
</command>
The sequence parameter controls the order in which the commands are executed.
</commands>