Re: [PHP] How to execute a bat file on the Apache server

2003-07-22 Thread desa15
Use algo.bat REM Output from a batch file Dir C:\ sleep 10 or Check if the safe_mode is on, and turn to off Un saludo, Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to execute a bat file on the Apache server

2003-07-22 Thread Petre Agenbag
Well, firstly, you should not have to use the double \\ when using the single quotes, try it without and see if it works... ie, exec('c:\WINNT\system32\cmd.exe /c START c:\test.bat > c:\xxx.txt'); > ?> On Mon, 2003-07-21 at 16:34, Mikael wrote: > Hello all, I am trying to execute a bat file, a

[PHP] How to execute a bat file on the Apache server

2003-07-22 Thread Mikael
Hello all, I am trying to execute a bat file, and its not working. I manage to get the CMD in the "win task list" however its not executing the bat file, and its not closing it self...?? What I need it for is to execute a modem to send a SMS. I got that working but the php stuff is not really my bu