title: Spark on Windows 10. 'Files\Spark\bin\..\jars""\' is not recognized as an internal or external command
body: <p>I am very frustrated by Spark. An evening wasted thinking that I was doing something wrong but I have uninstalled and reinstalled several times, following multiple guides that all indicate a very similar path.</p>
  
  <p>On cmd prompt, I am trying to run:</p>
  
  <pre><code>pyspark
  </code></pre>
  
  <p>or</p>
  
  <pre><code>spark-shell
  </code></pre>
  
  <p>The steps I followed include downloading a pre-built package from:</p>
  
  <p><a href="https://spark.apache.org/downloads.html" rel="nofollow noreferrer">https://spark.apache.org/downloads.html</a></p>
  
  <p>including spark 2.0.2 with hadoop 2.3 and spark 2.1.0 with hadoop 2.7.</p>
  
  <p>Neither work and I get this error:</p>
  
  <pre><code>'Files\Spark\bin\..\jars""\' is not recognized as an internal or external  command,
  operable program or batch file.
  Failed to find Spark jars directory.
  You need to build Spark before running this program.
  </code></pre>
  
  <p>I've setup my environment variables fine as well utilising the winutils.exe trick but these seem unrelated to the problem at hand.</p>
  
  <p>I can't be the only one who's stuck on this problem. Anyone know a work around for getting this program to work in windows?</p>