This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error while running a .exe file in bash


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]