If I have a batch file called "program.bat"... and I'm on the command line... I can just type program to get the program to run.
If I'm on the command line, how do I get program.php to run automatically the same way instead of having to enter php program.php?
Say I have PHP installed to C:\programs\PHP and C:\Programs\Scripts attached to PATH. What needs to be done to be able to create C:\Programs\Scripts\hw.php with the content
<?php Echo "Hello World!"; ?>
and have it so that on the command line I type hw?
Windows XP Pro, SP2
PHP 5.3.8