X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: executing C program in cygwin Date: Wed, 22 Aug 2007 17:27:22 +0530 Message-ID: In-Reply-To: <12273008.post@talk.nabble.com> References: <12273008 DOT post AT talk DOT nabble DOT com> From: "Patil, Ashwin Channabasavaraj" To: "Enna" , X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l7MBwoqU007478 Hi, Check whether "filename" is present in you present working directory. Alternatively, give the absolute path to the file "filename" when you run your program. -Ashwin -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Enna Sent: Wednesday, August 22, 2007 5:18 PM To: cygwin AT cygwin DOT com Subject: executing C program in cygwin 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