WAMP: "'php' is not recognized as an internal or external command operable program or batch file" although adding PATH
<p>when I run PHP in CMD I get this error msg: </p>

<blockquote>
  <p>'php' is not recognized as an internal or external command operable
  program or batch file</p>
</blockquote>

<p>the path was already added and I followed this tutorial: </p>

<p><a href="http://perials.com/install-composer-on-windows-and-wamp/" rel="noreferrer">http://perials.com/install-composer-on-windows-and-wamp/</a></p>

<pre><code>C:\Program Files (x86)\Lenovo\FusionEngine;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Lenovo\Motion Control\;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\; C:\wamp\bin\php\php5.5.12; C:\wamp\www; C:\wamp\www\AKP\examples\AdWords\Auth;C:\Program Files (x86)\Skype\Phone\;C:\ProgramData\ComposerSetup\bin
</code></pre>

<p><a href="https://i.stack.imgur.com/6gREt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6gREt.png" alt="enter image description here"></a></p>

<p>I created the file suggested in this post: 
<a href="https://stackoverflow.com/questions/21330051/installing-composer-globally-for-laravel-usage">Installing Composer globally for laravel usage?</a></p>

<p>and nothing. </p>

<p>Most of the posts I ran into solved the problem with adding the path - which doesn't solve mine. </p>

<p>I am currently using WAMP on Windows 10. </p>

<p>What can be the problem? </p>