PHP: Command line usage - Manual - PHP: Hypertext Preprocessor
If you are using Windows XP (I think this works on 2000, too) and you want to be able to right-click a .php file and run it from the command line, follow these steps: 1. Run regedit.exe and *back up the registry.* 2. Open HKEY_CLASSES_ROOT and find the "....