in DOS batch files, In an IF
statement, is it possible to combine two or more conditions using AND or OR ? I was not able to find any documentation for that
Edit - help if
and the MS docs say nothing about using more than one condition in an if.
I guess a workaround for AND would be to do
if COND1 (
if COND2 (
cmd
)
)
but this is exactly what I'm trying to avoid.