delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/24/23:17:22

Message-ID: <19971025031438.9916.qmail@hotmail.com>
From: "John Patton" <gimli21 AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: DOS stuff
Date: Fri, 24 Oct 1997 20:14:37 PDT

Hi guys,

Here's my problem (it always starts with that...):

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?  I know this is a rather odd question, and I'll probably 
get flamed for asking something like this about DOS,...  but I thought 
I'd give it a shot...  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>.

Thanks in advance for not flaming me...

-Johnny P.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019