Re: Opening DOS with PHP commands
| From: | Chris Hewitt | Date: | Tue, 07 Jan 2003 11:33:58 +0000 |
| Subject: | Re: Opening DOS with PHP commands | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130557@lists.php.net to get a copy of this message | ||
Tony Tzankoff wrote:
Does anybody know if a MS-DOS window (running a BAT file) can be opened using a PHP command? Right now, I have Windows using the Task Scheduler to open the MS-DOS window (which creates a file used later by PHP), while a PHP webpage loops every few minutes and does whatever it needs to with the file. I am trying to intergrate the MS-DOS window timing with PHP to avoid conflicts. ANy suggestions? Is this even doable? Does system('mybatchfile.bat') not work?HTH Chris