The exec() function will not run bat scripts in windows. Is there a function that will run these scripts?
you can use back ticks.
as in
$returnVal = file.bat;
file.bat
any output would go into $returnVal
Rob
Backticks are one way, but if you prefer the results of exec() you can use it by saying:
exec("cmd /c file.bat");