delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/13/07:36:14

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: All Cygwin versions:How do I modify the Cygwin information stored in the registry?
Date: Wed, 13 Jun 2007 07:35:50 -0400
Message-ID: <31DDB7BE4BF41D4888D41709C476B657068AB16E@NIHCESMLBX5.nih.gov>
In-Reply-To: <1HyNxk-0baTUO0@fwd30.aul.t-online.de>
References: <1HyNxk-0baTUO0 AT fwd30 DOT aul DOT t-online DOT de>
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: <Helge DOT Kleve AT t-online DOT de>, <cygwin AT cygwin 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l5DBa3qF007815

From: Helge Kleve AT xxx; Sent: Wednesday, June 13, 2007 4:12 AM
> Hello, I have tried to set a variable in the windows registry for the
mounting of cygwin directories. 
> This is to have the possibility to switch between different cygwin
installations without changing the registry.
> But is way don't work!!
>
> It seems that it is the Type REG_EXPAND_SZ that causes the error. 
> Is it possible that the Type REG_EXPAND_SZ is not right support by
cygwin?
>
>I will switch between a local installation and a installion on a net
drive and to change a environment variable is a easy way to do this job.
>
> thanks for help
> helge

Do not edit the registry for cygwin.  Use mount, umount, and regtool*.
In this case, you will probably only need mount.  Launch cygwin from a
batch file that sets up the mount table before launching bash (or
whatever shell you are using).

See
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
http://cygwin.com/cygwin-ug-net/using.html#mount-table
http://cygwin.com/cygwin-ug-net/using-utils.html#mount
http://cygwin.com/cygwin-ug-net/using-utils.html#umount

* regtool example:
http://cygwin.com/cygwin-ug-net/setup-maxmem.html

Good Luck.

- Barry

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