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

Ravi Joshi <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.