title: Batch Script: Using GOTO on IF statement
body: <p>When you get to the user input part, no matter what I type (desk, fire, door) it always goes to fireplace. Is there something wrong with my if syntax?</p>
  
  <pre><code>    @echo off
      color C
      title RG Text Game
      echo -------------------------------------------------
      echo Welcome to the Game!
      echo.
      echo -------------------------------------------------
      echo.
      pause
  
      echo.
      echo Blah bah blah story story
      echo What do you want to do?
      echo Choices: fire/desk/door
      set /p choice= 
      if %choice%=="fire" GOTO fireplace
      if %choice%=="desk" GOTO desk
      if %choice%=="door" GOTO door
  
      :fireplace
      echo.
      echo You come to the fireplace.
      echo.
      pause
  
      :desk
      echo.
      echo You go to the desk.
      echo.
  
      :door
      echo.
      echo You go to the door.
      echo.
  </code></pre>