I am running a .bat file from ASP.NET by creating a process named proc.Also I am using IIS as a server.
Now I want to redirect the output from command prompt to the webpage, for this I had used BeginOutputReadLine() but with that I am able to display the redirected output only after my process got exited.
But I want to redirect line by line and need to display it immediately. How can I achieve this?