title: how to escape % at cmd setx?
body: <p>I'm trying to set var by cmd script, but got some problem,</p>
  
  <pre><code>setx /M JAVA_HOME "D:\Tool\JDK"
  setx /M PATH "%PATH%;%JAVA_HOME%\bin;D:\TZProfile\!!!QuickLink\"
  </code></pre>
  
  <p>I want to add %JAVA_HOME%\bin to PATH, no "D:\Tool\JDK"</p>