Re: PHP and running DOS bat files and capture console
Posted by ZabMilenko on 10/06/06 08:27
Use the backtick operators (next to the 1 key under the ESC key) like so:
$output = `command.bat`;
IchBin wrote:
> I have no problem doing this in Java. I am new to PHP. How do you, using
> a PHP script, run a windows DOS.bat file and capture all of its console
> for further processing?
>