From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13779 invoked by alias); 16 Nov 2001 15:32:14 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 13741 invoked from network); 16 Nov 2001 15:32:12 -0000 Received: from unknown (HELO dymwsm07.mailwatch.com) (204.253.83.43) by sourceware.cygnus.com with SMTP; 16 Nov 2001 15:32:12 -0000 Received: from mwsc0202.mw4.mailwatch.com (mwsc0202.mw4.mailwatch.com [204.253.83.132]) by dymwsm07.mailwatch.com (8.11.0/8.11.0) with ESMTP id fAGFW8M03268 for ; Fri, 16 Nov 2001 10:32:08 -0500 Received: from mail pickup service by mwsc0202.mw4.mailwatch.com with Microsoft SMTPSVC; Fri, 16 Nov 2001 10:32:07 -0500 Received: from 204.253.83.71 ([204.253.83.71]) by MWSC0202 with SMTP id 0002000263e9d391-ce7c-4701-a660-7b0de70bbfbc; Fri, 16 Nov 2001 10:32:07 -0500 Received: from eccmfw2.ford.com (mailfw2.ford.com [136.1.1.27]) by dymwsm09.mailwatch.com (8.11.0/8.11.0) with ESMTP id fAGFW7132522 for ; Fri, 16 Nov 2001 10:32:07 -0500 Message-Id: <200111161532.fAGFW7132522@dymwsm09.mailwatch.com> Received: by mailfw2.ford.com id KAA17024 (InterLock SMTP Gateway 4.2 for cygwin@sourceware.cygnus.com); Fri, 16 Nov 2001 10:30:41 -0500 (EST) Received: by mailfw2.ford.com (Internal Mail Agent-1); Fri, 16 Nov 2001 10:30:41 -0500 (EST) Received: by mailfw2.ford.com (Internal Mail Agent-0); Fri, 16 Nov 2001 10:30:41 -0500 (EST) From: "Fleischer, Karsten (K.)" To: "'JROZYCKI@ebmail.gdeb.com'" , "Cygwin (E-mail)" Subject: RE: script-name won't execute but script-name.py will Date: Sun, 11 Nov 2001 08:26:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.15) Content-Type: text/plain; charset="iso-8859-1" HOP-COUNT: 1 X-MAILWATCH-INSTANCEID: 0102000263e9d391-ce7c-4701-a660-7b0de70bbfbc X-OriginalArrivalTime: 16 Nov 2001 15:32:07.0961 (UTC) FILETIME=[DA0D9890:01C16EB3] X-SW-Source: 2001-11/txt/msg00438.txt.bz2 Hi, you _have_ to specify the extension. You have to do this on every UNIX system. Cygwin only allows you to leave out the .exe extension. HTH, Karsten > -----Original Message----- > From: JROZYCKI@ebmail.gdeb.com [mailto:JROZYCKI@ebmail.gdeb.com] > Sent: Freitag, 16. November 2001 14:33 > To: Pavel Tsekov > Cc: cygwin@cygwin.com > Subject: Re: script-name won't execute but script-name.py will > > > Pavel, > We are on NT 4.0. I believe I have proper permissions > because I can run the > script when I tack on the script's extension, such as pl or > awk. The response > is "command not found", not permission denied... Here is some output: > > bin $ pwd > /home/jrozycki/bin > bin $ ll > total 51 > drwxr-xr-x 5 jrozycki users 4096 Nov 15 19:09 ./ > drwxr-xr-x 10 jrozycki users 8192 Nov 15 15:55 ../ > -rwxr-xr-x 1 jrozycki users 735 Nov 15 14:41 maxcom.py* > > bin $ maxcom > bash: maxcom: command not found > bin $ ./maxcom > bash: ./maxcom: No such file or directory > bin $ maxcom.py > > Incorrect Syntax - maxcom.py char INPUTFILE OUTPUTFILE > bin $ path > /cygdrive/f/bin > /cygdrive/d/Applications > /usr/local/bin > /usr/bin > /bin > /home/jrozycki/bin > > > > > > > Pavel Tsekov on 11/16/2001 03:49:37 AM > > To: Jeff Rozycki/EB/GDYN@GDYN > cc: cygwin@cygwin.com > Subject: Re: script-name won't execute but script-name.py will > > > > Do you have the proper permissions set on your > script files ? Are you running a Win9x or NT ? > > JROZYCKI@ebmail.gdeb.com wrote: > > > > Troy, > > The interpreter line is already specfied on the first line > of all my scripts. > > So something else must be the culprit. > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/