in reply to Unable to run batch file in CGI Script
my @out = `C:/BatchTest/test.bat`; die "@out ($?)" if $? != 0;
Check the Apache server logs - they may (or may not;-) provide some indication.
Is Apache configured to 'recognise' the directory containing the target script i.e. C:/BatchTest ?
If so, are the permissions on C:/BatchTest correct ?
|
|---|