"The PATH problem"

Christopher Faylor cgf@redhat.com
Fri Jan 12 11:02:00 GMT 2001

On Fri, Jan 12, 2001 at 10:02:38AM -0800, Vladimir G Ivanovic wrote:
>Could you be confusing setting PATH with setting CYGWIN? A subsequent
>message to this email list mentions that CYGWIN must be set before
>cygwin1.dll is loaded.

Probably.  For a while I generalized the proviso against setting CYGWIN in
a bash shell to mean that *no* commands would work at all unless I typed
them prior to running bash.  This seemed sort of silly and I almost
complained bitterly to the cygwin mailing list.

I spent many a long lonely night looking at the bash prompt and
wondering how I could get any work done, finally rebooting my machine so
that I could at least get back the Windows command window.  It finally
occurred to me that I should just try typing something to see if it

It did work, of course.  bash accepted commands just fine.  I guess that
makes sense in retrospect...

But now I'm really confused since the CYGWIN problem still seems to
be there.  I type CYGWIN at the command prompt and it says:

bash: CYGWIN: command not found

Go figure.


>"EB" == Earnie Boyd <earnie_boyd@yahoo.com> writes:
>  EB> Soren Andersen wrote:
>  >>
>  >> On 12 Jan 2001, an entity purporting to be Schaible, Joerg
>  >> [Schaible, Joerg <Joerg.Schaible@gft.com>] wrote [regarding RE:
>  >> "The PATH problem"]
>  >>
>  >> > Hi Soren,
>  >> >
>  >> > >Cygwin doesn't allow modification or unset on the PATH variable
>  >> > >after login, so it has to be set right from 'Doze before bash
>  >> > >gets fired up, no?
>  >> >
>  >> > Who has told you that? This is simply not true, but it depends on
>  >> > the shell you're using.
>  >>
>  >> I am *quite* sure I just read it in documentation, but I am sorry,
>  >> I have been multitasking at least a half-dozen projects for days
>  >> now, and I do not have a pointer to cite to the location of this
>  >> statement.
>  >>
>  >> I exhaustively tried to alter my PATH inside bash (using statements
>  >> identical to what you cited) before I found the documentary
>  >> confirmation that it doesn't work.
>  >>
>  >> "YMMV".
>  >>
>  EB> YMMV??? Joerg is correct. This is an impartial nature of the
>  EB> shell, all shells, including command.com and cmd.exe. I don't
>  EB> think that your systems are a special case, but YMMV.
>  EB> Cheers, Earnie.

Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list