Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Cannot execute bat files...
January 14, 2009, 4:58 pm
rate this thread
I dont even know where to ask. Sorry if this should be somewhere else
I get this error: Warning: exec() [function.exec]: Unable to fork [\
\server\folder\filename.bat] in C:\Inetpub\wwwroot\somefile.php on
I create a bat file to execute, but it fails. I recall our old admin
found a way to make this work - but letting it be executed as system
admin or somthing. Back then there was some odd problem, that the
user/profile for intranet stuff could create files, but not execute
them. Therefore the intranet system was run as admin.
The stuff was moved to a new server, but never completed. The admins
are no longer with us, and I do not recall what they did back then.
The server is running windows, but it is my 1st day with this kind of
Re: Cannot execute bat files...
It sounds like you have a permissions problem. Your IIS user needs to
have execute privileges on the .bat file, and privileges to access any
resources the .bat file uses.
I suggest you look at an IIS newsgroup to fine out how to set your
Remove the "x" from my email address
JDS Computer Training Corp.
- » extension function returns false when condition is true
- — Next thread in » PHP Scripting Forum