to try
setlocal /?
on the command line
As for the operators if: help ifshould show you everything you need to know. Batch files have only one line ifform expressions
if[state] [operator]
if[state] [operator] else[operator]
However, [operator] can be a block delimited by parentheses:
if[status] (
[Approval]
[Approval]
...
)
if [] (
[]
...
) else (
[]
...
)
end if. if .
, . help set .