In addition to using call as mikej notes, if you need to return an error code from one of the batch files, use
exit /b 0
I think that if the last command launched in a batch file returns a non-zero error level, then this is returned as the default error level of the command file itself.
source share