RE: Problem call a cygwin command from a dos batch file

2003-07-29 Thread Lisbeth Kellogg
I guess I found the answer to my own question. Since some other people have had this same problem, here is the solution. There is a problem with the PATH environment under Win 2000. To identify the problem I typed the following in DOS: bash -c "which sort" I got a response of "/cygdrive

RE: Problem call a cygwin command from a dos batch file

2003-07-29 Thread Elfyn McBratney
On Tue, 29 Jul 2003, Lisbeth Kellogg wrote: > I guess I found the answer to my own question. Since some other people > have had this same problem, here is the solution. > > There is a problem with the PATH environment under Win 2000. To > identify the problem I typed the following in DOS: >

RE: Problem call a cygwin command from a dos batch file

2003-07-29 Thread Lisbeth Kellogg
age- From: Elfyn McBratney [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 4:33 PM To: Lisbeth Kellogg Cc: [EMAIL PROTECTED] Subject: RE: Problem call a cygwin command from a dos batch file On Tue, 29 Jul 2003, Lisbeth Kellogg wrote: > I guess I found the answer to my own question.

RE: Problem call a cygwin command from a dos batch file

2003-07-29 Thread DePriest, Jason R.
/g/ C:\cygwin\bin> -Original Message- From: Lisbeth Kellogg [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 4:40 PM To: [EMAIL PROTECTED] Subject: RE: Problem call a cygwin command from a dos batch file Yes, that would fix it. But I think we have a bug here. In cygwin I get:

RE: Problem call a cygwin command from a dos batch file

2003-07-29 Thread Lisbeth Kellogg
ECTED] Subject: RE: Problem call a cygwin command from a dos batch file My /etc/profile (the default one with cygwin) contains this: export PATH="/usr/local/bin:/usr/bin:/bin:$PATH" which implies that the behavior you are seeing is to be expected (if you have the same /etc/profile). See what

RE: Problem call a cygwin command from a dos batch file

2003-07-29 Thread Igor Pechtchanski
gg > > -Original Message- > From: Elfyn McBratney [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 29, 2003 4:33 PM > To: Lisbeth Kellogg > Cc: [EMAIL PROTECTED] > Subject: RE: Problem call a cygwin command from a dos batch file > > > On Tue, 29 Jul 2003, Lisbe

Re: Problem call a cygwin command from a dos batch file

2003-07-30 Thread Shankar Unni
Lisbeth Kellogg wrote: > Yes. Now I get the same thing. But why don't I have to do it that way > in XP? It's nothing to do with the OS or Bill Gates' conspiracies. Consider the two *machines* as distinct entities, and examine their configurations (all environment variables, all .rc scripts) to