Date: Mon, 16 Dec 2002 20:39:00 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <7263-Mon16Dec2002203900+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: Subject: Re: getenv problem References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "A. Sinan Unur" > Newsgroups: comp.os.msdos.djgpp > Date: 16 Dec 2002 14:05:57 GMT > > I posted the above code in response to another problem. After posting, I > noticed that the string getenv returns for TEMP does not match the value > of TEMP on my system. Typing set shows: > > TEMP=C:\DOCUME~1\asu1\LOCALS~1\Temp > TMP=C:\DOCUME~1\asu1\LOCALS~1\Temp > > whereas getenv("TEMP") returns c:\windows\temp. > > I am using XP Pro. I do have the v2.03 refresh distribution installed. > What might be the reason? Perhaps you've edited DJGPP.ENV to set "TEMP"?