There are a few similar questions as this throughout the site, but none of them are giving me the answer I\'m looking for.
What I\'m trying to do is install Composer
You need to add the PHP directory to your path. On the command line, it would look like this:
SET PATH=%PATH%;C:\wamp\bin\php\php5.5
if in doubt, it's the directory containing the php.exe.
You can also pre-set the path in Windows' control panel. See here on how to do this in Windows 7 for example.
Be aware that if you call the PHP executable from an arbitrary directory, that directory will be the working directory. You may need to adjust your scripts so they use the proper directories for their file operations (if there are any).