Opus command return code?

When I execute dopusrt.exe" /cmd prefs layout "SomeLayout" in a DOS command and "SomeLayout" does not exist I had hoped I could use an If ERRORLEVEL test to act accordingly. I appreciate that it's a matter of opinion whether specifying a non existent layout constitutes an error and I don't know if dopusrt ever sets ERRORLEVEL.

Regards, AB

dopusrt just sends the command (asynchronously) to the main Opus process, and returns. There's no feedback as to whether the command is successful or not.