Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!wuarchive!usc!rutgers!gatech!purdue!ccncsu!longs.LANCE.ColoState.Edu!frush From: frush@longs.LANCE.ColoState.Edu (Raymond Frush) Newsgroups: comp.os.msdos.programmer Subject: Setting Environment Variables Message-ID: <11359@ccncsu.ColoState.EDU> Date: 23 Nov 90 18:05:23 GMT Sender: news@ccncsu.ColoState.EDU Reply-To: frush@longs.LANCE.ColoState.Edu (Raymond Frush) Distribution: na Organization: Colorado State University, Fort Collins, CO 80523 Lines: 17 Hello- I am looking for someone to send me information about how to perminantly set DOS environment variables from within a C program, so that when the program finishes, the variable remains set. I realize that it has to do with finding the location of the environment stored in memory, but have no clue to go about finding it. E-Mail responses please. Thanks! /------- You have been reached by...-------------+--------------------\ | Raymond Frush at Colorado State University | But, don't take my | | Center for Computer Assisted Engineering | word for it... | | ARPA frush@longs.LANCE.colostate.edu | | |------------------------------------------------+--------------------| | UUCP:..ncar!boulder!ccncsu!longs.lance.colostate.edu!frush | \------------------------------------------------+--------------------/