| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4DF7032F.6060301@ludens.elte.hu> |
| Date: | Tue, 14 Jun 2011 08:43:59 +0200 |
| From: | szgyg <szgyg AT ludens DOT elte DOT hu> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 ThunderBrowse/3.3.5 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: TMP and TEMP get redefined, but I need the original values |
| References: | <4DF4FDAC DOT 8010809 AT web DOT de> |
| In-Reply-To: | <4DF4FDAC.8010809@web.de> |
| X-ELTE-SpamScore: | -8.0 |
| X-ELTE-SpamLevel: | |
| X-ELTE-SpamCheck: | no |
| X-ELTE-SpamVersion: | ELTE 2.0 |
| X-ELTE-SpamCheck-Details: | score=-8.0 required=5.9 tests=ALL_TRUSTED,BAYES_00,L_AUTH autolearn=ham SpamAssassin version=3.3.1 -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -5.0 L_AUTH Caesar auth -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] |
| 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 |
On 6/12/2011 7:55 PM, Roland Bluethgen wrote: > Looking for the cause I found out that the Cygwin maintainers chose to > redefine the TEMP and TMP environment variables in /etc/profile > > However, now I'm unable to find out > the original TEMP setting from a script. Windows stores the environment variables in the registry, under `HKEY_CURRENT_USER\Environment' and `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment'. You can access these through /proc/registry in cygwin. For an example see the PRINTER setting in /etc/profile. szgyg -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |