title: windows bat files: a %random% number as answer to an question
body: <p>i am making a simple little text game in a bat file.
  now, i reached a point where i want the bat file to generate a random number (using %random%); and then it will popup for 2 secs (using echo and timeout). then you should enter it in a if /p .
  if you enter the right one, it will goto sb3. if its not the right one, it will goto gameover.
  is this even possible?</p>
  
  <pre><code>cls
  echo remember these
  set ran=%random%
  echo %ran%
  timeout 2
  cls
  set /p sb2=what was the numbers? if you fail the game will quit.
  if %sb2%==%ran% goto sb3 
  </code></pre>
  
  <p>currently, whatever you type will proceed to sb3.</p>