If you're the only one using Cygwin on your machine, try echo "cd /cygdrive/c" >> /etc/profile
and then restart the Cygwin shell. In the future, when you need to find out which package contains a particular program, use the Cygwin package search page at <http://cygwin.com/packages/> (it helps to prepend "bin/" to program names, especially short ones like "vi"). Igor On Wed, 1 Sep 2004, Tom Plane wrote: > Thanks Dave. > > I tried this and got an error. > > bash: vi: command not found > > I did a default install. > > A little more help please. > > Tom > > -----Original Message----- > From: J. David Boyd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 10:48 AM > To: Tom Plane > Subject: Re: change opening path > > "Tom Plane" <[EMAIL PROTECTED]> writes: To both you and Dave: <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. > > I would love to try this but I don't know how to add the cd command to > > > the end of /etc/profile. Can you explain the steps to me? > > open a command prompt (bash) > > type: cd /etc > type: vi profile > press: 'G' to go the end > press: 'A' to go to the end of the current line in insert mode > press: enter to open a new line > type: cd *path_to_wherever* > type: :wq > > restart cygwin > > Dave -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/