The following cmd is working fine for me
IF %var1% == value1 (
echo true
) ELSE (
echo false
)
What is the syntax for adding OR
condition inside the IF
?
for example:
IF %var1% == value1 OR %var1% == value2(
echo true
) ELSE (
echo false
)