Can i run php script using command prompt in any location by typing scriptname.php

From: Date: Thu, 02 Jul 2009 15:33:44 +0000
Subject: Can i run php script using command prompt in any location by typing scriptname.php
Groups: php.windows 
Request: Send a blank email to php-windows+get-29430@lists.php.net to get a copy of this message
Hi,        I have downloaded ZendServer-CE-4.0.3-Windows_x86.exe(49.6 MB) and installed it in C:\Program Files\Zend derectory .Whenever i want to run any php script i have to put my php script in C:\Program Files\Zend\ZendServer\bin directory and then by the command prompt first i goto in C:\Program Files\Zend\ZendServer\bin location and then i type php scriptname.php. after doing this i get the output from php script.       I want to ask that can i run my php script by simply double clicking or by command prompt only by typing scriptname.php in any location. -Ravi Joshi

« previous php.windows (#29430) next »