delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <ADeFaria AT Salira DOT com> |
Subject: | Re: Determining the location of a Cygwin installation |
Date: | Wed, 26 Mar 2003 12:54:51 -0800 |
Lines: | 21 |
Message-ID: | <3E82139B.3020109@Salira.com> |
References: | <200303261832 DOT 53052 DOT jld AT ecoscentric DOT com> <NCEBJJFMCAOKNNABBFIMIEBLDFAA DOT john DOT r DOT morrison AT ntlworld DOT com> <b5stct$gjq$1 AT main DOT gmane DOT org> <3E81FE8B DOT 9060008 AT Salira DOT com> <3E82101C DOT 45E8CBE7 AT isg DOT de> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 |
X-Accept-Language: | en-us, en, ru, zh |
Tino Lange wrote: > This is not true! There's a trick: At least under >= Windows 2000 you > can just put 'cygpath.exe' (and its path) in your so called > "ApplicationPaths". This is a Registry location for several utils you > can just call by name - no more needed. Have a look at your: > "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App > Paths" When you start such an application it don't need to be in the > path of the machine. > > Solution: > Just put 'cygpath.exe' in your Application path - then you're able to > use it from everywhere on your machine. So you can find the CYGWIN > root with "cygpath -w /". While interesting there are two flaws here. Firstly, this down't work on all versions of Windows. Secondly, if I could get my users to set their "ApplicationPaths" I could as easily get them to set their PATHs. The real world situation is that this is not the case and neither PATH nore ApplicationPaths are set. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |