call xxx.bat && (goto succeed) || goto failed
:succeed
echo successfully
:failed
echo failed
pause
call xxx.bat
if %errorlevel% == 0 (
) else (
)