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