if you use exit /b 0
you can return an errorlevel 0
from within a child batch script without also exiting the parent.
More Related Contents:
- ERRORLEVEL vs %ERRORLEVEL% vs exclamation mark ERRORLEVEL exclamation mark
- Variables are not behaving as expected
- Single line with multiple commands using Windows batch file
- Example of delayed expansion in batch file
- Batch command date and time in file name
- Windows batch: echo without new line
- How do I measure execution time of a command on the Windows command line?
- Where is “START” searching for executables?
- How to test if a file is a directory in a batch script?
- Windows command to convert Unix line endings?
- windows batch SET inside IF not working
- How can two text files be read in parallel by a batch file?
- Batch files: List all files in a directory with relative paths
- How to run a PowerShell script within a Windows batch file
- Windows batch script to parse CSV file and output a text file
- Using parameters in batch files at Windows command line
- “rd” exits with errorlevel set to 0 on error when deletion fails, etc
- Convert a small PS script into a long line in a .BATch file
- Curl not recognized as an internal or external command, operable program or batch file
- How to count no of lines in text file and store the value into a variable using batch script?
- How to test if a path is a file or directory in Windows batch file?
- Split string with string as delimiter
- How to change Screen buffer size in Windows Command Prompt from batch script
- Delete all files and folders in a directory
- What would be the Windows batch equivalent for HTML’s input type=”password”?
- How to read input from console in a batch file?
- How can I source variables from a .bat file into a PowerShell script?
- I need to match or replace an asterisk * in a batch environmental variable using only native Windows commands. Is this possible?
- How to expand a CMD shell variable twice (recursively)
- Split %date% in a batch file regardless of Regional Settings