delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/28/11:03:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <00d501c0ffe3$209b94a0$6464648a@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "Schaible, Jorg" <Joerg DOT Schaible AT gft DOT com>, <cygwin AT cygwin DOT com>
References: <C2D7D58DBFE9D111B0480060086E963504320DF4 AT mail DOT gft DOT de>
Subject: Re: Can regtool be used to rename a key?
Date: Thu, 28 Jun 2001 07:32:06 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Chris,
Perhaps the leading separator in regtool keys could be generalized so any
non-alphanum in the first position becomes the separator character.  That
would make it easier to handle keys that include '/' without having to use
'\' as the separator.

More comments below.
----- Original Message -----
From: "Schaible, Jorg" <Joerg DOT Schaible AT gft DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, June 28, 2001 01:13
Subject: RE: Can regtool be used to rename a key?


> How do I now access a key with a slash ?
> See: HKCR\AutoProxyTypes\Application/x-internet-signup

If you look at the help screen, that should (or may) be written
\HKCR\AutoProxyTypes\Application/x-internet-signup.  If the first character
is '/', regtool.exe translates all '/'s it finds into '\'s.  The leading '\'
or '/' is not required.  I was thinking maybe it ought to be required, but
that would probablly break a lot of peoples' code if such a requirement
started being enforced.

> Also all the mime types have slashes in the key ... this might be the
reason
> that regtool does not understand the normal slash as separator, since it
is
> a valid (and used) character for registry keys.

If you lead with '/' all slashes get converted to '\' which _would_ make
handling MIME types or mount points a bit difficult.  For those keys you'll
have to stick with '\'s.  <G>

--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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