🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3191

Setting Environment Variables

#3191
From: Raymond Frush
Date: Fri, 23 Nov 1990 18:05
17 lines
1436 bytes
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         |
\------------------------------------------------+--------------------/ 
Technical Details
Message-ID: <11359@ccncsu.ColoState.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!wuarchive!usc!rutgers!gatech!purdue!ccncsu!longs.LANCE.ColoState.Edu!frush

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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