title: run Selenium in a Batch File
body: <p>I want to create a batch file for running Selenium. I need it to run it in Jenkins, now you can ask why you will do it with a batch file? There is a plugin for it, so use that one. Now it is impossible to use that plugin because it is to complex what I want, so I need to do it with a batch file.</p>
  
  <p>I'm using selenium-java-2.20.0 and Firefox.</p>
  
  <p>Thanks already!</p>
  
  <p>This is the code and the error that I get:</p>
  
  <pre><code>C:\Users\User\Desktop&gt;@echo off
  
  C:\Users\User\Desktop&gt;java -jar C:\Users\User\Downloads\selenium-java-2.20.0\selenium-2.20.0\selenium-java-2.20.0.jar -htmlSuite "iexploreproxy" "http://localhost" "C:\Users\User\Documents\Runner.html" "C:\Reports\Selenium\result.html"
  
  Failed to load Main-Class manifest attribute from C:\Users\User\Downloads\selenium-java-2.20.0\selenium-2.20.0\selenium-java-2.20.0.jar
  </code></pre>