delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/18/09:46:05

X-Recipient: archive-cygwin AT delorie DOT 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 DOT vukovic AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to set default startup directory for cygwin
In-Reply-To: <52deb1e0802180634h5a228bclc7a621fa1e4f7c7@mail.gmail.com>
MIME-Version: 1.0
References: <52deb1e0802180634h5a228bclc7a621fa1e4f7c7 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Feb 18, 2008 at 9:34 AM, Glen Mazza <glen DOT mazza AT gmail DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019