Batch conditionals

From wikinotes

if statement

IF [%VARIABLE%]==[] (
  echo Variable is not set

) ELSE IF [%VARIABLE]==[blah](
  echo some condition

) ELSE (
  echo Value Found

)