This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Command not found eventhough it is on one of the PATH directories


Yes, it is, by everybody. The command history below shows that I can
exectute it when I specify the full path.

Andres Corrada-Emmanuel
Senior Research Fellow
Information Extraction and Synthesis Laboratory
University of Massachusetts, Amherst

On Fri, 13 Aug 2004, Ken Dibble wrote:

>
> Is it executable?
>
> ls -l  /cygdrive/u/dl/Jython/jython/dist/jython.bat
>
>
> Andres Corrada-Emmanuel wrote:
>
> >Hello,
> >
> >I'm having a strange problem with Cygwin and the PATH variable.
> >
> >I try the following:
> >
> >/home/corrada
> >6 % jython.bat
> >jython.bat: Command not found.
> >
> >/home/corrada
> >7 % /cygdrive/u/dl/Jython/jython/dist/jython.bat
> >Jython 2.2a0 on java1.4.2_05 (JIT: null)
> >
> >
> >>>>^Z
> >>>>
> >>>>
> >
> >
> >/home/corrada
> >8 % printenv
> >!C:=C:\Documents and Settings\corrada\Desktop
> >!S:=S:\cygwin\bin
> >ALLUSERSPROFILE=C:\Documents and Settings\All Users
> >APPDATA=C:\Documents and Settings\corrada\Application Data
> >CLASSPATH=.;U:\rexo\src\rexo\class;U:\rexo\src\rexo\lib\jdom-b10.jar
> >CLIENTNAME=Console
> >COMMONPROGRAMFILES=C:\Program Files\Common Files
> >COMPUTERNAME=EAKINS
> >COMSPEC=C:\WINDOWS\system32\cmd.exe
> >HOMEDRIVE=C:
> >HOMEPATH=\Documents and Settings\corrada
> >LOGONSERVER=\\INVID
> >NUMBER_OF_PROCESSORS=2
> >OS=Windows_NT
> >PATH=/usr/local/bin:/usr/bin:/bin:.:/cygdrive/u/dl/Jython/jython/dist:/cygdrive/u/j2sdk1.4.2_05/bin:
> >/cygdrive/c/texmf/miktex/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Sy
> >stem32/Wbem:/cygdrive/c/Program Files/Common Files/Adaptec
> >Shared/System:/cygdrive/c/Emacs20.3.1/bin
> >
> >PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> >
> >Why is the shell unable to find jython.bat eventhough it is in one of the
> >PATH directories?
> >
> >Andres Corrada-Emmanuel
> >Senior Research Fellow
> >Information Extraction and Synthesis Laboratory
> >University of Massachusetts, Amherst
> >
> >
> >--
> >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/
> >
> >
> >
> >
>
>


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]