X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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]" To: , X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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/