From: rich DOT c AT es DOT co DOT nz (Rich) Subject: Re: can't run .exe 29 Jan 1999 01:07:37 -0800 Message-ID: <36b50009.7245121.cygnus.gnu-win32@smtp.es.co.nz> References: <000101be4a56$ae1e0b40$a43d5ea0 AT poniman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit To: gnu-win32 AT cygnus DOT com 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 DOT c AT es DOT co DOT nz - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".