Hi
I used echo exec('C:/start.bat'); to execute the batch file.But it is not showing the output.
Please help.
Regards,
Sobha
exec() to execute bat file.
Moderator: General Moderators
Re: exec() to execute bat file.
Creating a thread every time your question changes a little bit is really annoying.
exec
exec
Oftentimes on Windows there's a final blank line after a program executes...Return Values
The last line from the result of the command.
Re: exec() to execute bat file.
I used echo exec('C:/start.bat'); to execute the batch file.But it is not showing the output.
But just displaying a blank page.
But just displaying a blank page.
Re: exec() to execute bat file.
Lemme try again.
tasairis wrote:Creating a thread every time your question changes a little bit is really annoying.
execOftentimes on Windows there's a final blank line after a program executes...Return Values
The last line from the result of the command.