Can I catch the error when an EXE with missing dependency is run from inside a batch? In such case the EXE fails to load and our app logs are empty
I tried checking the errorlevel and even tried to pre-check the EXE using depends.exe tool however non of them worked
i.e. mybat.exe
run-this-app.exe do some check.. do something
Assuming you know what the dependencies are and the location then you can check for them.