FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to run a batch file using PHP?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
How to run a batch file using PHP? [message #179321] Thu, 04 October 2012 00:09
Fastian is currently offline  Fastian
Messages: 20
Registered: June 2012
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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?
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Why does my PDO query with named parameters return a blank result?
Next Topic: Failure to install pecl package (warning, long)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Oct 19 12:18:10 EDT 2017

Total time taken to generate the page: 0.00503 seconds