This is the mail archive of the
mailing list for the Cygwin project.
Re: Newbie question on paths
- To: "Strachan, Iain" <Iain dot Strachan at software dot aeat dot com>
- Subject: Re: Newbie question on paths
- From: Christoph Bugel <cbugel at netvision dot net dot il>
- Date: Fri, 14 Apr 2000 17:32:49 +0300 (IDT)
- cc: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Reply-To: Christoph Bugel <cbugel at netvision dot net dot il>
You are right - it can be done with the PATH variable
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:
> 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 <current directory> 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?
> Iain Strachan.
> Want to unsubscribe from this list?
> Send a message to email@example.com
...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 firstname.lastname@example.org