RE: [PHP-WIN] Problem with exec and backticks on Win NT
| From: | Darvin Andrioli | Date: | Tue, 11 Jul 2000 11:07:27 +0000 |
| Subject: | RE: [PHP-WIN] Problem with exec and backticks on Win NT | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1011@lists.php.net to get a copy of this message | ||
Thanks Philip,
I made my test using only an Win 98 box, so I haven't notice that the same script (
exec("c:\command.com /c mybatch.bat" ), and NOT /k as I Wrote by mistake ) work on Win Nt
Box and not using Win98.
Bye
Darvin Andrioli
-----Original Message-----
From: Philip Lees [SMTP:pjlees@ics.forth.gr]
Sent: Monday, July 10, 2000 1:14 PM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Problem with exec and backticks on Win NT
Darvin Andrioli <darvin.andrioli@caricese.it> wrote in message
news:01BFEA70.1B75B980@PCDARVIN...
I've noticed this problem on my Win98 box with php 3 and php 4
In my test I tried to excute some batch using command.com
exec("c:\command.com /k mybatch.bat" ); ). Without command.com the batch
doesn't work.
Strange. I had no problem executing a batch file - only executables. Perhaps
it's because I'm on WinNT.
Phil
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net