Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Fri, 14 Apr 2000 17:32:49 +0300 (IDT) From: Christoph Bugel X-Sender: chris AT pingu DOT tti DOT co DOT il Reply-To: Christoph Bugel To: "Strachan, Iain" cc: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Re: Newbie question on paths In-Reply-To: <2E300728EEF9D3119D8000E018C1864F1C8F48@pc-2215.harwell.aeat.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII You are right - it can be done with the PATH variable for example: export PATH=${PATH}:. will append a `:' and a dot to it. BTW - maybe ./hello.exe is better, in unix usually there is no dot in the path by default for security reasons. also you're right about .bashrc bash.exe will look for it in your / (usually C:\), and/or in your $HOME directory. (as it says somewhere in the FAQ IIRC) good luck :) on Apr 14 Strachan, Iain wrote: > Hi, > I'm new to cygwin but used UNIX some years back (before BASH was available). > > I've installed cygwin on my system (under NT) with no problems and everything runs. > > However, I am unable to get it to recognise as part of the path. Hence if I have a "hello.exe" in the current directory, to run it I have to do "./hello", whereas "hello" by > itself cannot be found. > > I tried various logical things to do with setting the PATH environment variable, but to no avail. > > Could you tell me how to make this work? Also if there's an equivalent file to the UNIX .bashrc file, where I could automatically set this up? > > Regards, > Iain Strachan. > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > Christoph Bugel ...Unix, MS-DOS and Windows NT, also known as "The Good, The Bad and the Ugly" -- Matt Welsh -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com