delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/09/01:11:55

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
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 AT cygwin DOT com>
Reply-To: "Ben Stover" <bxstover AT yahoo DOT co DOT uk>
To: "Cygwin MailList" <cygwin AT cygwin DOT com>
Date: Sat, 09 Sep 2017 07:06:08 +0200
MIME-Version: 1.0
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

- Raw text -


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