Can regtool be used to rename a key?

Michael A. Chase mchase@ix.netcom.com
Thu Jun 28 08:03:00 GMT 2001


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.Schaible@gft.com>
To: <cygwin@cygwin.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/



More information about the Cygwin mailing list