can't run .exe

Rich rich.c@es.co.nz
Sun Jan 31 23:52:00 GMT 1999


On Wed, 27 Jan 1999 18:39:35 -0600, you wrote:

>I've just installed cygwin B20.1. I tried to compile the "hello world"
>program using gcc and it works. But the problem is, when I try to run a.exe,
>the following message appeared:
>	BASH.EXE: a.exe: command not found
>Anyone knows why ?

Hi Budi,

Assuming the file `a.exe' exists, use `./a.exe'. The current directory isn't
in your path the way it would be under DOS. Alternatively, you can add the
path you normally use for building/testing executables to the system path.

Cheers,

Rich.
--
rich.c@es.co.nz
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list