My cmd keeps on returning this for what ever appcfg.py command i give even appcfg.py -v I have python 2.7.9 I installed this version,i had same issue with 2.7.11. I have everything included in my path environment variable My googleappengine is alo included into my path environment variable
So this hard coded command is working for me ....
python "C:\Program Files (x86)\Google\google_appengine\appcfg.py" -A soy-key-124518 -V v1 update "C:\Users\Hamad\Desktop\ae-php\app"
What can the problem be?

The
/apppath to the app dir seems incorrect:/path delimiter in windows/appmeans either an absolute path (C:\app?) or the relative path to theC:\Users\Hamad\appdir (the current working dir appears to beC:\Users\Hamad) none of them matching the (absolute) path from the cmd that works:C:\Users\Hamad\Desktop\ae-php\app.Try using the full path to the app dir (the same as in the cmd that works) or the proper relative path depending on the actual dir in which you execute that cmd.