delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/21/12:45:07

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getenv problem
Date: Sat, 21 Dec 2002 11:29:02 CST
Organization: Rice University, Houston TX
Lines: 18
Message-ID: <3e04a4de.sandmann@clio.rice.edu>
References: <Xns92EAC413C91D6asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <Xns92EAF29123476asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1040491910 9032 128.42.105.3 (21 Dec 2002 17:31:50 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 21 Dec 2002 17:31:50 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> i am wondering if this is only happening onmy machine. could someone with 
> access to nt/2k/xp please try:
 ... snip
> on their machine and see what it prints out for TEMP when there is both a 
> system and a user TEMP defined via the environment variable settings in 
> My Computer properties (and none in djgpp.env)?

On Windows 2000 SP1 

TEMP=C:\WINNT\TEMP
TMP=C:\WINNT\TEMP

(When TEMP is pointed to the system default of c:\docu...\username...)

If I set TEMP at the command line, that TEMP then goes through.

So this appears is default behavior on Win2K/XP family (I think I'm seeing
the same thing as you described).

- Raw text -


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