Mail Archives: djgpp/1997/12/15/22:00:21
DongJun Kim wrote:
>
> I want to remain my enviroment if my program terminated or not.
> I used putenv( "MYPROG=C:/LANG/MYPROG.CFG" ) in my program.
>
> But after terminated, it is not in enviroment variables.
> ( I checked it by typing "SET" )
This is not possible under MS-DOS, nor is it possible under the majority
of filesystems. In most cases, a process cannot permanently modify the
environment of its parent shell.
--
---------------------------------------------------------------------
| John M. Aldrich | A singer in a smoky room / Smell of |
| aka Fighteer I | wine and cheap perfume / For a smile |
| mailto:fighteer AT cs DOT com | they can share the night / It goes |
| http://www.cs.com/fighteer | on and on and on... |
---------------------------------------------------------------------
- Raw text -