title: SETX doesn't append path to system path variable
body: <p>I have tried below command to append some path to system path variable by batch-file :</p>
  
  <pre><code>setx PATH "%PATH%;C:\Program Files\MySQL\MySQL Server 5.5\bin"
  </code></pre>
  
  <p>I have checked system variable path after running above batch-file, above path isn't in there.</p>
  
  <p><img src="https://i.stack.imgur.com/hLV0J.png" alt="enter image description here"></p>
  
  <p>You can see all windows <code>Variable value</code> content in below :</p>
  
  <pre><code>C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMDAPP\bin\x86;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\ProgramFiles (x86)\ATI Technologies\ATI.ACE\Core-Static;
  </code></pre>
  
  <p>What am i doing wrong?</p>