'______________________________________________________________________________________________________________________ ' ' Get and Set environment variables using th P/Evoke '______________________________________________________________________________________________________________________

... and for anyone following ..You don't need to use the advanced search.The normal search will search the current forum section, so if you are somewhere in the .NET forum search will find the reference if it exists.... at least that's been my experience.

Logged

Perfection is not optional. Everything will work just as you expect it to, unless your expectations are incorrect.Discipline: None at all.--> Donate to theSwamp<--

I am a bit perplexed ... it appears that you are defining new functions to set read environment variables (presumably from lisp) when you could simply use getenv and setenv. If you are using it for some other purpose then by all means carry on ...

Logged

Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 amCadJockey Militia Field Marshal

That's what this place is all, about learning from each other and building upon code others have posted. Feel free to use anything I've posted anyway you like. There are instances where the author has put significant effort into their posts, out of respect, its proper to acknowledge their efforts with a comment in the code I.e.