delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/01/25/02:58:52

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4BEA33858C31
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1674633490;
bh=lspk6in73zDmlttyuoREkBgfURTb/B/bssLZagC5svU=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=uR8Mtjk35YPRmAkNdQPlofJsBB+aBrF4pZjzyZNe0qs2AcC7a5XFdu67nEKj+ED9z
ximGReE/HY8Z6SV9Tlb5Ke4uBg8FaEZRkpridX0FOpm80HDWNPs21wN8faz0sgjsEB
+TDBt3R6zoTqDxWBqtaWR3eYbn/gbKe9DA4sitcw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 489C03858D28
To: <cygwin AT cygwin DOT com>
Subject: TMP and TMPDIR mapping
Date: Wed, 25 Jan 2023 07:57:29 -0000
Message-ID: <002f01d93092$ac4f7ff0$04ee7fd0$@dyalog.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdkwkiA3QSTKsB2dQZubN/znFN57LA==
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50, HTML_MESSAGE,
KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: john daintree via Cygwin <cygwin AT cygwin DOT com>
Reply-To: john daintree <johnd AT dyalog DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi

 

My understanding is that Cygwin maps $TMP and $TMPDIR (and probably others)
to a Windows form (/cygdrive/c/tmp  -> C:\tmp) when calling a WIN32 program
(e.g. cmd.exe). Is it possible, from bash or from Cygwin startup , to add
additional environment variable names so that they  are also automatically
mapped in the same way?

 

Thanks

/John


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

- Raw text -


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