title: Testng FileNotFoundException when running from command line
body: <p>I am getting Testng <code>FileNotFoundException</code> when running from command line, following is the command line parameters i am using</p>
  
  <blockquote>
    <p>java -cp MyTestAutomation-06252019.jar org.testng.TestNG
    ZaleniumMiniRegression.xml</p>
  </blockquote>
  
  <p>Following is the <strong>stack-trace</strong>:</p>
  
  <pre><code>[SuiteHTMLReporter] [ERROR] test-output\testng.css (The system cannot find the path specified)
  java.io.FileNotFoundException: test-output\testng.css (The system cannot find the path specified)
          at java.base/java.io.FileOutputStream.open0(Native Method)
          at java.base/java.io.FileOutputStream.open(FileOutputStream.java:292)
          at java.base/java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:235)
          at java.base/java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:185)
          at org.testng.internal.Utils.writeResourceToFile(Utils.java:263)
          at org.testng.reporters.HtmlHelper.generateStylesheet(HtmlHelper.java:32)
          at org.testng.reporters.SuiteHTMLReporter.generateReport(SuiteHTMLReporter.java:55)
          at org.testng.TestNG.generateReports(TestNG.java:1062)
          at org.testng.TestNG.run(TestNG.java:1005)
          at org.testng.TestNG.privateMain(TestNG.java:1326)
          at org.testng.TestNG.main(TestNG.java:1294)
  </code></pre>