public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Ben Stover via cygwin" <cygwin@cygwin.com>
To: "Cygwin MailList" <cygwin@cygwin.com>
Subject: How to specify the user directory OUTSIDE of Cygwin (installation folder)?
Date: Sat, 09 Sep 2017 05:11:00 -0000	[thread overview]
Message-ID: <190592.83283.bm@smtp101.mail.ir2.yahoo.com> (raw)

By default the user folder of Cygwin (under Win7) is in a subdirectory

<installation folder>\home\<username>

How can I put it into a separate directory OUTSIDE of Cygwin?

Example:

I installed Cygwin in

D:\tools\cygwin\v2\

and want to put my (resp. all) home directories into

D:\tools\cygwin\myhome\

If possible I would like to specify my new home directory not as absolute but as relative path.

I would prefer a customization somwhow in "Cygwin.bat" like:

set cygwinhome=..\myhome

Mind the double dots standing for "go up one level".

How can I achieve this?

Ben








.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2017-09-09  5:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-09  5:11 Ben Stover via cygwin [this message]
2017-09-09  7:53 ` Marco Atzeri
2017-09-09  8:31   ` Jürgen Wagner
2017-09-09  9:03     ` Corinna Vinschen
2017-09-09  9:39 ` Kptain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=190592.83283.bm@smtp101.mail.ir2.yahoo.com \
    --to=cygwin@cygwin.com \
    --cc=bxstover@yahoo.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).