delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/26/06:25:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=pwS
j1dvomtC8WUP2TZPtHcblf/ILbbLJkf3yF2Uv5+OZgh0CsbczWYlHC8jXbbdgGaM
2/9LWaLMFGocC968I+N2GjvBppVH3CY4Ieulh3v6fr+fUnEMzijjHpjG3xNGYqId
IpfpaNFTGQ1SW85Zv/5icSLJCU4EShjSGuP32ZnE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=wlJYht8NY
KjmXtWAnA/RYocYQnA=; b=IqoZrBol2hacCm6XEJ4LrVqUS5VTIarKjBqbIQ9yr
zOLDicr+y4tIF96kFTNprXTb/X1pYXkke7rhM1SzvTKKa0G5rpK5iYHxtCjXGRY4
UDHguB2oqWdqUly87oIALw3q4Nla+X65sonTUoWRXys9BcJh/4qiXs+R2VGEpBnu
CI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: smtp203.alice.it
Message-ID: <53FC6064.4090305@alice.it>
Date: Tue, 26 Aug 2014 12:24:36 +0200
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: About cygstart in Cygwin64

When I had WinXP32 and Cygwin32, I defined an alias (in .bashrc) like this

   alias cygstart='TEMP=/home/$USER/Temp cygstart'

where /home/$USER/Temp was a symlink to the user native Temp directory 
(/cygdrive/c/Documents and Setting/Local/Temp, if I remember..)

The reasons for that alias with TEMP=/home.. in front, were that, 
opening documents with Windows native applications (for example, a PDF 
with AR), all temporary files that those applications created were saved 
in the Windows native Temp directory. And all this worked..

Now with Win7U and Cygwin64 I defined a similar alias, being 
/home/$USER/Temp the symlink

   /home/$USER/Temp --> /cygdrive/c/$USER/AppData/Local/Temp

In this case, all temporary files created by Windows native 
applications, started with cygstart, go in /tmp Cygwin directory.., i.e. 
the definition "TEMP=/home/$USER/Temp" in front of cygstart command is 
ignored..

This is a minor issue but I wonder if there is a way to avoid it.


TIA,
  Angelo.

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

- Raw text -


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