I am trying to learn how to access PHP scripts from the command line (CLI)
Below is an image from my attempt, please help. I am running Windows 7

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to add your PHP installation directory to the
%PATH%environment variable, or work from the PHP installation directory.To add it to path (The best approach – Edited for Windows 7):
My ComputericonPropertiesAdvanced system settingsfrom the left navAdvancedtabEnvironment VariablesbuttonSystem Variablessection, selectPath(case-insensitive) and clickEditbutton;) to the end of the string, then add the full file system path of your PHP installation (e.g.C:\Program Files\PHP)OKetc until all dialog boxes have disappearedAlternatively, you can run
cd <PHP installation path>before you try and run you command, or call your script like<FULL file system path of php.exe> <path to script>