Re: how to execute Exe file in system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux