From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Error while running a .exe file in bash
Date: Thu, 25 Sep 2003 09:21:00 -0000 [thread overview]
Message-ID: <20030925074432.GT9981@cygbert.vinschen.de> (raw)
In-Reply-To: <20030925071759.89683.qmail@web9807.mail.yahoo.com>
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@cygwin.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/
next prev parent reply other threads:[~2003-09-25 7:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-25 7:21 Kishen Bahudhanam
2003-09-25 9:21 ` Corinna Vinschen [this message]
2003-09-26 5:44 Kishen Bahudhanam
2003-09-26 6:21 ` Brian Dessent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030925074432.GT9981@cygbert.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).