Mail Archives: djgpp/1999/07/25/21:31:20

Message-Id: <>
X-Sender: csrabak AT dce03 DOT ipt DOT br
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Sun, 25 Jul 1999 22:29:40 -0300
To: djgpp AT delorie DOT com
From: "Cesar S. Rabak" <csrabak AT ipt DOT br>
Subject: Re: Setting DOS environment varible with C program and export
it ?
In-Reply-To: <>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 13:35 25/07/99 -0400, you wrote:

>I use the standard function setenv() getenv(), but I can export what
>is done during the program to the upper shell. Is there a way for doing
>such thing ?

Doing so is a kind of hack in the undelying OS. There is not a portable way
of doing it.

In the past, some programs with this kind of hack were available for DOS,
but I'm not keeping with this stuff anymore. Get a look at SimTel mirrors
on the system utils and neighboors areas.



- Raw text -

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