X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <12273008 DOT post AT talk DOT nabble DOT com> Subject: RE: executing C program in cygwin Date: Wed, 22 Aug 2007 13:07:47 +0100 Message-ID: <00b501c7e4b5$0e0a0660$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <12273008.post@talk.nabble.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 22 August 2007 12:48, Enna wrote: > I have the following problem: I would like to execute a C program from the > cygwin console. This program is supposed to get its input from another file, > so what I type into the cygwin console is > > /path to the program/programname > This worked fine yesterday, however today all i get is the message "bash: > filename: no such file or directory". I must admit that I shifted the > directory containing all that stuff around a little bit, but the file is > still in that directory, so I have no idea what the problem is. Please help! Well, bash hasn't changed since yesterday, so it's pretty hard to think of any other cause than that you did, in fact, mess up somehow when you moved stuff around. The problem with claiming something generic like > so what I type into the cygwin console is > > /path to the program/programname