On Fri, 24 Sep 2004, Corinna Vinschen wrote:

> On Sep 24 15:19, [EMAIL PROTECTED] wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>, 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<c>, --key-separator[=]<c>  set key separator to <c> instead of '\'
> [...]

Should this perhaps be

Options for 'set', 'unset', and 'get' Actions:
 -K<c>, --key-separator[=]<c>  set key-value separator to <c> 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/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,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/

Reply via email to