Batch file action: Errorlevel is 1, but action does not fail

I am stumped!

I have a batch file that when it fails, returns an errorlevel of 1

In the action that calls it, I have the default option of "program exit code must be equal to 0"


But it does not fail.

What do I do to chase down?

Thanks!

You need to use the Run Dos command action, the errorlevel is a function of the dos shell.