delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/16/15:00:30

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
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: <Xns92E697A37D7C2asu1cornelledu@132.236.56.8>
References: <atkeh5$1fh$1 AT c3p0 DOT cc DOT swin DOT edu DOT au> <Xns92E654D4AD5CAasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <Xns92E65C91B405Aasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <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" <eliz AT is DOT elta DOT co DOT il> wrote in
news:2593-Mon16Dec2002203909+0200-eliz AT is DOT elta DOT co DOT il: 

>> From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
>> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019