What is the easiest way to reset ERRORLEVEL to zero? February 1, 2023 by Tarik if you use exit /b 0 you can return an errorlevel 0 from within a child batch script without also exiting the parent.