I am running Xampp on my Windows 7 machine and was wondering if and how I could run commands for xampp via a command line. commands like php phpfile.php
XAMPP does not have a pre build console to run php or mysql commands, so, you have to add to windows PATHenvironment variables, these 2: ;C:\xampp\mysql\bin;C:\xampp\php;
Then you should be able to execute php and mysql commands from the CMD.