title: Elasticsearch on Windows: elasticsearch.bat throws errors
body: <p>I am trying to install Elasticsearch on a Windows machine. I have the right version of Java and downloaded and unzipped Elasticsearch. When I try to run elasticsearch.bat, it won't run. I get the following errors:</p>
  
  <pre><code>./elasticsearch.bat: line 1: @echo: command not found
  ./elasticsearch.bat: line 3: SETLOCAL: command not found
  ./elasticsearch.bat: line 4: TITLE: command not found
  ./elasticsearch.bat: line 6: SET: command not found
  ./elasticsearch.bat: line 8: :loop: command not found
  ./elasticsearch.bat: line 9: syntax error near unexpected token `('
  ./elasticsearch.bat: line 9: `FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO ('
  </code></pre>
  
  <p>I have no idea where these errors come from and would be very grateful if anyone could tell me why this happens and how to solve it.</p>