title: How to compare a variable to a certain value, if it has the value the script should continue in CMD
body: <p>I have tried this code in my .batch file</p>
  <pre><code>@echo off
  Title Ping
  color b
  echo Enter the website you would like to ping
  set input=
  set /p input= Enter your Website here:
  color d
  echo Enter the password for the program
  set input2=
  set /p input2= Enter the Pass here:
  color b
  IF [input2] EQU [1234] 
  </code></pre>
  <p>It should check if <code>Input2</code> is equal to <code>1234</code> and if it is the script should continue, if it is not equal to <code>1234</code> it should just wait.</p>
  <p>I guess it is pretty simple but I dont seem to get it working. Also script just crashes after the last line of code.</p>