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 Message-ID: <20030925071759.89683.qmail@web9807.mail.yahoo.com> Date: Thu, 25 Sep 2003 00:17:59 -0700 (PDT) From: Kishen Bahudhanam Subject: Error while running a .exe file in bash To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I see a couple of messages on this topic, but couldn't figure out what to do. So sending the question again: I compiled my code using gcc, and created a .exe file. However, when I try to execute it, I get the following error: MZ?: command not found. However, I can open a 'cmd' window, and run the .exe. I am under Win2000. Here is the .exe's attributes, and the output when I run the exe. -rwxr-xr-x 1 jgalt mkpasswd 455026 Sep 25 12:29 tx.exe* /c/Model>. tx.exe bash: MZ?: command not found Please help... __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- 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/