X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: Double backslashed registry names can't be found?
Date:  Sat, 15 Jul 2006 14:46:15 +0100
Lines: 40
Message-ID:  <3ouugfdsbp9.vo1zvl9lz5k.dlg@40tude.net>
References:  <003201c6a78f$b1c49450$0200a8c0@UrsaMajor>  <Pine.GSO.4.63.0607141802130.8651@access1.cims.nyu.edu>  <000a01c6a79e$5ee539b0$0200a8c0@UrsaMajor> <Pine.GSO.4.63.0607141956000.8651@access1.cims.nyu.edu> <000a01c6a7a6$94b90140$0200a8c0@UrsaMajor>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: 40tude_Dialog/2.0.15.1pl
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Stephen D Lindner (2006-07-15 01:35 +0000)
> OK, no more top posting...I can take a hint...erp, excuse me.

Your quoting is way beyond good and evil...

You can't "check" with regtool for values - only for keys. The
documentation says it.

On the other hand you shouldn't trust the documentation because it is
incorrect in many ways:

* It says "KEY is in the format [host]\prefix\KEY\KEY\VALUE" (which
would mean that you /could/ "regtool check" for values  - but you
can't. The problem here is that sometimes "KEY" means "KEY" and
sometimes "KEY" means "KEY\VALUE".

* It says "You can use forward slash ('/') as a separator instead of
backslash, in that case backslash is treated as escape character"
...which would mean that 

regtool get '/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/UserAssist/{75048700-EF1F-11D0-9888-006097DEACF9}/Count/HRZR_EHACNGU:S:\\cfgneg.rkr'

...should work - but it doesn't.

* the doc says "Options for 'set' and 'unset' Actions: -K<c>,
--key-separator[=]<c>  set key separator to <c> instead of '\'"

That incorrect in two ways because

1. "-k" is not only valid for set and unset but it's also valid for
"get"

2. It would mean that "regtool -K+ check
'+HKEY_CURRENT_USER+Software'" would be valid but it isn't.

So what actually does work...?

1. regtool -K+ get '\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count+HRZR_EHAPCY:"P:\JVAQBJF\flfgrz32\vagy.pcy",Ertvbany naq Ynathntr Bcgvbaf' 
and
2. regtool -K+ get '/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/UserAssist/{75048700-EF1F-11D0-9888-006097DEACF9}/Count+HRZR_EHAPCY:"P:\\JVAQBJF\\flfgrz32\\vagy.pcy",Ertvbany naq Ynathntr Bcgvbaf'


--
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/

