>-----Original Message-----
>From: Dave Faulkner [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, April 15, 2001 5:15 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] WinNT, PHP4, IIS4, exec() Nothing Happens at all!
>Below is some of the stuff i have tried:
>
>// exec("I:\Perl\bin\cjpeg.exe -quality 30 -progressive $image_name");
>// exec("c:/autobatchit!/autobatchit.exe");
>// exec("c:\autobatchit!\autobatchit.exe");
>// exec("c:\command.com /k autobatchit.bat" );
>
>And other variations which i have not added. The results are varying. If i
>use "cmd" int he exec() anywhere, the script seems to halt at that point
and
>wont go any further. However all of the above lines result in NOTHING
>happening at all!........if i look at the task manager while i run the
>script, nithing comes up at all in relation to what i am 
>trying to execute.
 
I duno if this helps, but when you write C/C++ programs and wants to include
backslash, you have to "escape" it with an backslash. I guess the php engine
is written in C or C++ and if they haven't compensated for the string
parsing
facilities in C/C++ then you will have to write it like this:

// exec("I:\\Perl\\bin\\cjpeg.exe -quality 30 -progressive $image_name");

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to