delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/25/03:44:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 25 Sep 2003 09:44:32 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Error while running a .exe file in bash
Message-ID: <20030925074432.GT9981@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030925071759 DOT 89683 DOT qmail AT web9807 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20030925071759.89683.qmail@web9807.mail.yahoo.com>
User-Agent: Mutt/1.4.1i

On Thu, Sep 25, 2003 at 12:17:59AM -0700, Kishen Bahudhanam wrote:
> 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

Try ./tx.exe

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019