Script Syntax

Block Braces must remain on Same line not new.

If

(.

<Task>        )

Continue across lines

^.

Call another batch

Call.

Exit

Complete

Exit.

Only Script

Exit /b n.

N = Exit Code.

Operators

Equal

Equ ==.

Not Equal

Neq.

Rem [System32] to [Launch Dir].

CD /D "%~dp0".

Variable expansion

Variable expansion %<var>%
%1
Updated: 2026 Aug 19