From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: getenv problem Date: 16 Dec 2002 19:54:21 GMT Organization: Cornell University Lines: 31 Sender: asu1 AT cornell DOT invalid (on 128.253.251.155) Message-ID: References: <2593-Mon16Dec2002203909+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: 128.253.251.155 X-Trace: news01.cit.cornell.edu 1040068461 20968 128.253.251.155 (16 Dec 2002 19:54:21 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 16 Dec 2002 19:54:21 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in news:2593-Mon16Dec2002203909+0200-eliz AT is DOT elta DOT co DOT il: >> 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"? That's the first thing I looked at too, but no that's not the case. I feel pretty clueless. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov