note 34286 rejected from ref.exec by betz

From: Date: Mon, 21 Jul 2003 12:28:13 +0000
Subject: note 34286 rejected from ref.exec by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52451@lists.php.net to get a copy of this message
Note Submitter: starck@voyagermobiletech.com ---- 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

« previous php.notes (#52451) next »