PDA

Click to See Complete Forum and Search --> : Please Help: Environment variables


ashish_0311
Aug 15th, 2005, 05:30 AM
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

MrPolite
Aug 25th, 2005, 02:04 PM
are you looking for
Environment.ExpandEnvironmentVariables()
? :)