www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/16/13:40:57

Date: Mon, 16 Dec 2002 20:39:00 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
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: <Xns92E65C91B405Aasu1cornelledu@132.236.56.8>
Subject: Re: getenv problem
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>
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

> 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"?

- Raw text -


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