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 From: "Dave Korn" To: Subject: RE: Command not found eventhough it is on one of the PATH directories Date: Fri, 13 Aug 2004 16:53:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 13 Aug 2004 15:53:02.0640 (UTC) FILETIME=[9D662B00:01C4814D] > -----Original Message----- > From: cygwin-owner On Behalf Of Andres Corrada-Emmanuel > Sent: 13 August 2004 16:37 > > Yes, it is, by everybody. The command history below shows that I can > exectute it when I specify the full path. 'What do you get from "ls -l /cygdrive/u/dl/Jython/jython/dist/jython.bat"?' is not the same question as 'Can you run it?' This isn't windoze, this is *nix. We don't decide if a file is an executable by looking at the last four characters of its filename; we look and see if it has the unix 'x' perm for (user, group, other) as appropriate. Your .bat file may be executable, in practice, but that doesn't mean it has the x perm applied; it could just be a side-effect of a mountpoint with the -x flag. So give us the ls -la output along with your cygcheck. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/