Re: how to execute Exe file in system

From: Date: Fri, 17 Feb 2012 11:44:49 +0000
Subject: Re: how to execute Exe file in system
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-316657@lists.php.net to get a copy of this message
I am in windows yeah I tried this one if(shell_exec('C:\Program Files\GAMS23.7\gams.exe trnsport_php.gms')) echo 'yes' ; else echo 'no'; it wil show me no my another try: if(shell_exec('cd C:\Program Files\GAMS23.7') ) echo 'yes' ; else echo 'no'; it will show me No again I even can't run CD command why?

« previous php.general (#316657) next »