title: Why my environment variables work in common shell but not work in power shell in my windows system?
body: <p>I am setting classpath in my <code>Windows</code> machine:</p>
  
  <pre><code>CLASSPATH = .;%JAVA_HOME%\lib;%JAVA_HOME%/tools.jar;C:\Program Files (x86)\scala\lib\scala-library.jar
  </code></pre>
  
  <p>When I open a terminal, type in <code>echo %classpath%</code>, it works well, but when open a <code>power shell</code> and type <code>echo %classpath%</code>, it can not print the environment.</p>