Hi,
I have a .Net windows application in C#. I want one enhancement in this. Whenever any error occurs during execution I need to pass the value of it i.e. non 0 in "%ERRORLEVEL%" variable.

How can i perform this. Please Help.

Thanks & Regards,
Ashish