Mike, GETENV() does not allow you to set the variable which I think is what Sarosh wants to do. Unless its an undocumented feature?
>>We have many different Win. OS's at work (Win'98, NT, W2k, XP) and we need set DOS Environment variables not just for the current session but for the all new sesions as well. Need to change the master/global environment settings.
>>
>>Is there a Windows API that will do that? Need to call it from my App.
>
>Better yet, a Fox function: GETENV().
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.