Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "Schaible, Jorg" , References: Subject: Re: Can regtool be used to rename a key? Date: Thu, 28 Jun 2001 07:32:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: 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. -- 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/