title: How do I request and receive user input in a .bat and use it to run a certain program?
body: <p>This is what I have so far</p>
  
  <pre><code>@echo off
  :Ask
  echo Would you like to use developer mode?(Y/N)
  set INPUT=
  set /P INPUT=Type input: %=%
  If %INPUT%=="y" goto yes 
  If %INPUT%=="n" goto no
  If %INPUT%=="Y" goto yes
  If %INPUT%=="N" goto no
  :yes
  java -jar lib/RSBot-4030.jar -dev
  echo Starting RSbot in developer mode
  :no
  java -jar lib/RSBot-4030.jar
  echo Starting RSbot in regular mode
  pause
  </code></pre>
  
  <p>Either way if the user enters y or n it always runs in -dev mode.</p>
  
  <p>How do I make it run in -dev mode if the answer is yes, and regular mode if the answer is no. Also, how do I make it ask again if the input isn't Y, N, y, or n?</p>