Thus, the actual BAT file returns a success code. :D
You have to RETURN an error code FROM the bat file, not simply echo it to the screen for us to pick it up. If you echo something, great - it worked, and the bat returns a 0 - which is what we pick up.
Same thing applies to VBS. If you echo it - it goes to the screen/console (we use CScript), and thus isn't captured.
In VBScript, you have to do:
wScript.quit(errornum)
In DOS, you use:
Exit errornum.
GL making this work!