below is an example that does not stop on errors. any suggestions?
call build_ahs.cmd
if errorlevel 1 goto :error
call build_ahs2.cmd
if errorlevel 1 goto :error
:error
echo.
echo ERROR!
pause
here is the build_ahs.cmd.....
@echo off
setlocal
call set_ahs_path.cmd
pushd %ahs_path%\scripts
call ant makejarfresh
popd
here is the set_ahs_path.cmd ....
@echo off
set ahs_path=..\..\..\PrdGrp2\AHS