Simple Batch Template

Template with simple init and exit.

Description: The function template can be used as starting point for a new batch.
Script: Download: BatchSimple.bat  
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
@ECHO OFF
REM.-- Prepare the Command Processor
SETLOCAL ENABLEEXTENSIONS
SETLOCAL ENABLEDELAYEDEXPANSION


REM.-- your code goes here
echo.Hello World


REM.-- End of application
ECHO.&ECHO.Press any key to end the application.
PAUSE>NUL&GOTO:EOF