title: Running .bat file in selenium
body: <p>My bat file is :</p>
  
  <pre><code>set projectLocation=C:\Users\admin\eclipse-workspace\Jenkins
  cd %projectLocation%
  set classpath=%projectLocation%\bin;%projectLocation%\lib\*
  java org.testng.TestNG %projectLocation%\TestNG.xml
  pause
  </code></pre>
  
  <p>I am running my .bat file but while executing bat file It shows error messgae </p>
  
  <pre><code>E:\Software\eclipse-java-oxygen-1a-win32-x86_64\eclipse&gt;java
  org.testng.TestNG C:\Users\admin\eclipse-workspace\Jenkins\TestNG.xml
  Error: Could not find or load main class org.testng.TestNG
  
  E:\Software\eclipse-java-oxygen-1a-win32-x86_64\eclipse&gt;pause Press
  any key to continue . . .
  </code></pre>
  
  <p>Please anyone help</p>