Hi Doug--
I'm not sure about the "in my sleep" part--though some days I feel like I'm doing all my programming in my sleep... 😉
Anyway, about your question, you can use the -c switch when starting Arbortext to execute a command, e.g.
C:\Program Files\PTC\Arbortext Editor\bin\x64\editor.exe -c "print composed" foo.xml
So, you can combine this with Windows command syntax (a batch file) to iterate over a set of files, something like this:
:REM print all files in directory
for %%i in (*.xml) do (
echo "C:\Program Files\PTC\Arbortext Editor\bin\x64\editor.exe" -c "print composed" %%i
)
If you want to do something at all complicated inside Arbortext, I'd recommend defining a function to accomplish it, and then calling the function in this way. The idea is to make the code you pass to the -c parameter on the command line as simple as possible.
--Clay