Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 18 Dec 2003 10:23:44 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Is cygwin_ROOT still there? Message-ID: <20031218152344.GA6945@redhat.com> Mail-Followup-To: cygwin AT cygwin DOT com References: <20031216180803 DOT GD9896 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com On Thu, Dec 18, 2003 at 07:34:11AM -0600, L. D. Marks wrote: >Thanks. A slightly tortuous solution, but this works (after adding mount >to a limited set of executables). FYI, I used a ls /cygwin/cygwin.bat >to test for the existence of cygwin on the system. Wouldn't checking for cygwin1.dll be an infinitely better test? >N.B., to include a snippet from startxwin.bat: > >REM The path in the CYGWIN_ROOT environment variable assignment assume >REM that Cygwin is installed in a directory called 'cygwin' in the root >REM directory of the current drive. You will only need to modify >REM CYGWIN_ROOT if you have installed Cygwin in another directory. For >REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need >REM to change \cygwin to \foo\bar\baz\cygwin. startxwin.bat != cygwin This is just a convention used by one .bat file. It is not a universally understood convention throughout cygwin. -- 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/