Batch Script - EXIT


Advertisements

This batch command exits the DOS console.

Syntax

Exit

Example

@echo off 
echo "Hello World" 
exit

Output

The batch file will terminate and the command prompt window will close.

batch_script_commands.htm
Advertisements