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?

Reply via email to