title: classpath not working on javac command
body: <p>I want to specify the classpath on the javac command. But when I use the ";" to separate the paths of the classpath, I get the error "path not found".  </p>
  
  <p>How to code the javac command to have two folders in the classpath?</p>
  
  <pre><code>-- this works
  PS C:\vsctest\myTask&gt; javac -classpath c:\packages *.java
  
  -- this does not work. why?
  PS C:\vsctest\myTask&gt; javac -classpath .;c:\packages *.java
  javac: no source files
  Usage: javac &lt;options&gt; &lt;source files&gt;
  use -help for a list of possible options
  c:\packages : The term 'c:\packages' is not recognized as the name of a cmdlet, function, script file, or operable
  program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:20
  + javac -classpath .;c:\packages *.java
  +                    ~~~~~~~~~~~
  + CategoryInfo          : ObjectNotFound: (c:\packages:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>