Home »
Imported messages »
comp.lang.php »
How to run a batch file using PHP?
How to run a batch file using PHP? [message #179321] |
Thu, 04 October 2012 04:09 |
Fastian
Messages: 20 Registered: June 2012
Karma: 0
|
Junior Member |
|
|
I am trying to run a batch file using exec function in PHP. The program statement executes but nothing happen .... neither successfull nor give any error.
The batch file is v.simple with just two commands.This batch file runs fine when I run directly from cmd.
But when I use exec function, I am unable to run this cmd. I am not interested in the output returned by exec( ) function's argument . I am just interested in the complete execution of the batch file.
Can anyone help?
|
|
|
Goto Forum:
Current Time: Tue Nov 12 20:26:22 GMT 2024
Total time taken to generate the page: 0.08308 seconds