X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:reply-to:to:date:mime-version
	:content-type:content-transfer-encoding:subject; q=dns; s=
	default; b=JMgEQ8loh4ZtDJJa9yE0mhcxUndZZZbqFpE7hJtKdjDykqD1rcomd
	iWbR1YZwwk8HbDAPzydENzbFNYOD+drPw+0Ewe/gCehbViksX1D3cgOIUCpAIKV/
	45ZKlipx7McecCM9cMscVcUtxnlPBBh3bl3xqYL9Bv3QXydaaYVdD8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:reply-to:to:date:mime-version
	:content-type:content-transfer-encoding:subject; s=default; bh=R
	1TkyAm+EfdI7IoF2ELqiiIBChA=; b=FyZ2H4OukAAMukPqgwe1GU/P4SJ1bvaRh
	TK69ce6N+R6nsB1AyCGXLyqHBW5wxCVpwIuMAUuyvG6pUxM4FclWfOzR+FyjXDo7
	x8/KcgaHg4E5L6eFT/TprWtUVAVRatoG0o0ebD4aIx8YT57jIeXm65GsLTrZzZgE
	o38XCgJvPc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*MI:yahoo, Hx-languages-length:654, H*RU:sk:sonic30, HX-HELO:sk:sonic30
X-HELO: sonic303-19.consmr.mail.ir2.yahoo.com
Message-ID: <190592.83283.bm@smtp101.mail.ir2.yahoo.com>
X-Yahoo-SMTP: g8zEfr2swBBGx8tLQhnvE9ArcfYX
From: "Ben Stover via cygwin" <cygwin@cygwin.com>
Reply-To: "Ben Stover" <bxstover@yahoo.co.uk>
To: "Cygwin MailList" <cygwin@cygwin.com>
Date: Sat, 09 Sep 2017 07:06:08 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: How to specify the user directory OUTSIDE of Cygwin (installation folder)?
X-IsSubscribed: yes

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

