ID: 9892 User Update by: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Description: passthru() does not execute all commands in a *.bat-File -> Solved in 4.0.4pl1 Previous Comments: --------------------------------------------------------------------------- [2001-03-21 05:12:39] [EMAIL PROTECTED] Hello Congratulation for you new Site-Layout. I like it! More white, more light :) I think you already know this bug: passthru() does not execute all commands in a *.bat-File (and does not execute all commands included directly like $PassThru = "C:\_\bladeenc.exe -q -quiet C:\_\sound.wav C:\_\sound.mp3"; System($PassThru); Exec($PassThru); PassThru($PassThru); ). I used passthru already with success on my Win2000-Platform with php 4.04 and MS Information Server (both german, no Service-Packages). But bladeenc.exe and mp3enc31.exe cannot be executed (mp3enc31 hangs). Thanks for any help, suggestion, infos. - Or do you need further Details about the bug? ------------test.php----------------- <html> <head> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <script language="php"> $PassThru = "C:\_\bladeenc.exe -q -quiet C:\_\sound.wav C:\_\sound.mp3"; $PassThru = "C:\_\enc.bat"; // $PassThru = "C:\Mp3.exe -br 32000 -if C:\1253.wav -of C:\1253.mp3"; echo $PassThru; System($PassThru); Exec($PassThru); PassThru($PassThru); phpinfo(); </script> </body> </html> ------------test.php----------------- ------------enc.bat----------------- dir c: > c:_dir1 attrib -a c:_dir1 bladeenc.exe -q -quiet c:_sound.wav c:_sound.mp3 dir c: > c:_dir2 ------------enc.bat----------------- --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9892 -- PHP Development 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]