X-Spam-Check-By: sourceware.org
Date: Thu, 19 Jan 2006 10:40:06 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: TEMP Environment Variable Changed Format After Cygwin Update Today
Message-ID: <20060119094006.GH8318@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <2ee1c2b30601181251u6e77bdfao2b4e2a2d396d6b3a@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2ee1c2b30601181251u6e77bdfao2b4e2a2d396d6b3a@mail.gmail.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jan 18 14:51, Weiqi Gao wrote:
> After updating to the latest Cygwin release, I'm having problems with
> MSVC, which I use everyday.  The problem seems to be that the TEMP
> environment variable is now translated to UNIX format
> (/cygdrive/C/DOCUME~1/gao_w/LOCALS~1/Temp) instead of Windows format
> (C:\DOCUME~1\gao_w\LOCALS~1\Temp).  And Visual Studio only understands
> the Windows format.
> 
> This started to happen after I updated to the latest Cygwin release
> and rebooted today.
> 
> So my questions for today are:
>   Is the new cygwin release the reason for the changed behavior?

The TEMP handling hasn't been changed for a long time.  Also, if I run
tcsh and then start a cmd shell, the handling of TEMP looks correct to
me:

  tcsh$ echo $TEMP
  /home/corinna/tmp
  tcsh$ cmd
  Microsoft Windows XP [Version 5.1.2600]
  (C) Copyright 1985-2001 Microsoft Corp.

  C:\home\corinna>echo %TEMP%
  echo %TEMP%
  C:\home\corinna\tmp


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

