To Documents
Locate the variable Path under System variables. Edit it to append c:\PHP\
This is a test. C:\testfolder>php-cgi test.php
<?php echo 1,"abc",3 ?> X-Powered-By: PHP/5.1.2 Content-type: text/html
123 ^C C:\testfolder>php-cgi test.php