note 34286 added to ref.exec

From: Date: Mon, 21 Jul 2003 11:49:30 +0000
Subject: note 34286 added to ref.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-52449@lists.php.net to get a copy of this message
Well, after reading this page I am none the wiser. I am trying to call a simple "test.bat" file from a php page. I am sure there are easy and hard solutions to this scenario. At this point I will take any..... What I have tried so far... <?php exec('c:\\WINNT\\system32\\cmd.exe /c START c:\\test.bat'); ?> I can see the cmd.exe starting in the taskbrowser, but nothing happens, and its not possible to end the sesssion?? Can anybody sheed some light on this... Many thanks in advance. Mike ---- Manual Page -- http://www.php.net/manual/en/ref.exec.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34286 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34286&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34286&report=yes

« previous php.notes (#52449) next »