Is cygwin_ROOT still there?

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Dec 18 16:31:00 GMT 2003


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/



More information about the Cygwin mailing list