System.Diagnostics.Process usage
I am using the Process class to launch a batch file that uses the osql utility to create and then populate a database. How can my application retrieve the ERROR LEVEL from the batch program to verify whether the batch file worked.
Please help.
Thanks in advance.
Replies
Know the answer? Post it — somebody with the same question will find it here.