Mail Archives: djgpp/1997/10/26/23:34:58
>> I would like to be able to set an environment variable in DOS. I
would
>> like to be able to do this with DJGPP. I would also like to make the
>> variable stick, i.e. command.com's environment. How can I set a
parent
>> process's environment string to new values, specifically command.com,
>> using DJGPP?
>
>You should be able to find various ways of achieving this e.g. by
>browsing old issues of Dr Dobb's Journal. This issue was bashed to
>death when everybody and their dog were obsessed with hacking DOS.
>
>> Any suggestions would be greatly appreciated
>> because I'll be forced to go back to a 16-bit Borland compiler to
make
>> this work <I cringe>.
>
>There's nothing special in DJGPP that affects the solution of your
>problem. If you know how to do that with a Borland compiler, you
>should have no problems changing it a little so it works in DJGPP.
>If you have a working BC code and don't know how to convert it, post
>it here.
>
I will hack what I have and post the BC++ code here in a few days...
-Johnny P.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
- Raw text -