X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <d990efca0802180645o3ff4d3fud906411030847b91@mail.gmail.com>
Date: Mon, 18 Feb 2008 09:45:11 -0500
From: "Mirko Vukovic" <mirko.vukovic@gmail.com>
To: cygwin@cygwin.com
Subject: Re: How to set default startup directory for cygwin
In-Reply-To: <52deb1e0802180634h5a228bclc7a621fa1e4f7c7@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <52deb1e0802180634h5a228bclc7a621fa1e4f7c7@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Feb 18, 2008 at 9:34 AM, Glen Mazza <glen.mazza@gmail.com> wrote:
> Hello,
>
>  I looked in the FAQ and could not find the answer to this question, so
>  am asking here.  Whenever I start cygwin, I need to cd several levels
>  down to the only directory that I care about when using cygwin.  How
>  can I get cygwin to start in this particular directory by
>  default...i.e., each time I start Cygwin it will be in that directory
>  already?  Cygwin seems to ignore the "Start In: " option in the
>  Windows Preferences for this application.
>
>  Thanks,
>  Glen
>
>  --
>  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/
>
>

The way I have it setup (speaking from memory, as it was done ages
ago) to start in "my documents" folder, is:

- I have a mount point /home defined to point to "my documents" folder
(that is done within cygwin, see the manual)
- I have the windows environment variable HOME also pointing to "my
documents" folder (that is done from the windows xp control
panel/system/advanced)

hth

Mirko

--
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/

