I know there have been a million posts about this subject, but they're all conflicting as to wether or not exec() can be used under a windows platform.
Some of the things i've tried:
putting the command directly as the arguement of exec()
calling the command from a batch file
reinstalled the external software to a directory path with no spaces
double backslashing the command when called directly
adsutil set w3svc/createCGIwithNewConsole 1
write permissions on cmd.exe, the external executables, etc.
what happens:
with spaces in the file name, called directly, exec() outputs and does nothing.
with spaces in the file name, called from the batch file, exec() outputs errors that clearly show that spaces are an issue (ie. c:\program is not a valid application).
*with no spaces in the filename, called any way, the script hangs while trying to load.
If anyone has actually gotten exec() or system() to work on a Windows platform, let me know. If you have any other suggestions, please let me know. If you know for a fact that these functions are not supported on a Windows platform, please let me know. Thanks!