title: Batch IF statement always returning false?
body: <p>OK, so I have this:</p>
  
  <pre><code>:ask
  SET /p answer = Hello user. Do you want to use this program? (y/n) 
  
  IF [/i] %answer% == y GOTO yes
  IF [/i] %answer% == n (GOTO no) ELSE (ECHO Your input was not accepted. Please try again. &amp; GOTO ask)
  
  :yes
  ...
  ...
  
  :no
  pause
  </code></pre>
  
  <p>The problem is that both if statements are returning false and it is constantly asking for my input. I wanted it so that if the answer is neither y or n the user must re-input their answer.</p>
  
  <p>Any help?</p>
  
  <p>Thanks</p>