title: if else loop in a .bat script
body: <p>I figured out a way to write a if condition in .bat script : </p>
  
  <pre><code>if %sample==1(
  echo "successful"
  )
  </code></pre>
  
  <p>but how do I add else condition to it?</p>