This is the mail archive of the
mailing list for the Cygwin project.
Re: Error while running a .exe file in bash
- From: Kishen Bahudhanam <galtj67 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 25 Sep 2003 22:21:07 -0700 (PDT)
- Subject: Re: Error while running a .exe file in bash
Thanks to everyone who contributed to this issue. The
problem is resolved if I use: ./tx.exe.
I still don't understand the error message though.
If bash is not able to find the program, then filename
completion shouldn't work, isn't it? For example if I
bash completes the file name to tx.exe (this is the
only executable in the current directory starting with
To make it actually run, I need to type:
Thanks again to everyone.
--- Kishen Bahudhanam <email@example.com> wrote:
> I see a couple of messages on this topic, but
> figure out what to do. So sending the question
> I compiled my code using gcc, and created a .exe
> However, when I try to execute it, I get the
> MZ?: command not found.
> However, I can open a 'cmd' window, and run the
> I am under Win2000. Here is the .exe's attributes,
> the output when I run the exe.
> -rwxr-xr-x 1 jgalt mkpasswd 455026 Sep 25 12:29
> /c/Model>. tx.exe
> bash: MZ?: command not found
> Please help...
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html