I got the following error when I run a command with php
php
C:\\xampp\\htdocs>php \'php\' is not recognized as an internal or external command, o
You just need to a add the path of your PHP file. In case you are using wamp or have not installed it on the C drive.
PHP
wamp