title: Windows batch programing check passed argument value
body: <p>I am trying with windows batch command. not Getting the result as expected.</p>
  
  <p>i am passing 4 args to a batch file and inside the batch file i am checking if the 4th arg value is "1"</p>
  
  <p>here the code snippet.</p>
  
  <pre><code>IF %%4=="1" (
  echo "Error Level is zero"
  echo 'Creating web Ears...'
  set cd=%CD%
  echo "Current Directory: " %cd%
  )
  </code></pre>
  
  <p>Even after passing the exact value 1, if condition doesn't evaluate to true. Can someone please identify in mistake?</p>
  
  <p>mybat.bat x 5 c 1</p>