in reply to Re^2: Unable to run batch file in CGI Script
in thread Unable to run batch file in CGI Script

I tried by placing the test.bat file in the C:\Windows\system32 folder and changing thesystem command to "system('cmd.exe test.bat'); but i am getting "Premature ending of headers" error. But the same program is working when executed through command prompt.
  • Comment on Re^3: Unable to run batch file in CGI Script