Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 24 Sep 2004 12:47:07 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Is regtool -K option broken? In-Reply-To: <20040924083614.GT12802@cygbert.vinschen.de> Message-ID: References: <20040924051910 DOT 5DA4884C3C AT pessard DOT research DOT canon DOT com DOT au> <20040924083614 DOT GT12802 AT cygbert DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Fri, 24 Sep 2004, Corinna Vinschen wrote: > On Sep 24 15:19, luke DOT kendall AT XXXXX DOT XXXXX DOT XXX DOT XX wrote: , now with more reasons. > > I tried using regtool's option to use a different key separator, but it > > doesn't seem to work. Am I doing something wrong? > > > > $ regtool --key-separator='|' list |HKLM > > Unknown key prefix. Valid prefixes are: > > [...] > > $ regtool --help > [...] > Options for 'set' and 'unset' Actions: > -K, --key-separator[=] set key separator to instead of '\' > [...] Should this perhaps be Options for 'set', 'unset', and 'get' Actions: -K, --key-separator[=] set key-value separator to instead of '\' instead? FWIW, it should also work with 'get' (even if the help doesn't currently mention that). Just for the archives, this is to allow values with '\' or '/' in them, e.g., -- *** DO NOT RUN THE BELOW, IT'S JUST AN EXAMPLE *** -- regtool -K'|' set '/HKLM/HARDWARE/DEVICEMAP/PARALLEL PORTS|\Device\Parallel0' '\DosDevices\LPT1' -- *** DO NOT RUN THE ABOVE, IT'S JUST AN EXAMPLE *** -- Hope this clarifies matters. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/