title: Why does my batch file keep on closing?
body: <p>I cannot figure out why this keeps on closing after the set /p opo= line.
  I enter the operation and then it closes, It doesn't come up with :mult code either. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>title Calculator
  color 0e
  @echo off
  GOTO calculator_main
  :calculator_main
  echo Enter a operation:
  set /p opo=
  if %opo%=='*'(
  GOTO mult
  )
  
  if %opo%=='+'(
  GOTO add
  )
  
  if %opo%=='-'(
  GOTO sub
  )
  
  if %opo%=='/'(
  GOTO div
  )
  
  
  :mult
  
  echo Enter a number:
  set /p num1=
  echo Enter a number:
  set /p num2=
  set /a sum=%num1%*%num2%
  echo %num1% * %num2% = %sum%
  GOTO: calculator_main
  
  pause
  </code></pre>
  
  <p>I would be very grateful if somebody told me why on earth this is happening,</p>
  
  <p>Oscar. </p>