PHP运行脚本
php.exe -f "php文件"
php.exe -r "php代码"
例如:在cmd中
C:UsersAdministrator.SKY-20170308YPK>D:phpStudyphpphp-5.4.45-ntsphp.exe -f "D:phpStudyWWWxuexiday1index.php"
C:UsersAdministrator.SKY-20170308YPK>D:phpStudyphpphp-5.4.45-ntsphp.exe -r "echo 'hello word'"