X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe 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 AT UrsaMajor> <000a01c6a79e$5ee539b0$0200a8c0 AT UrsaMajor> <000a01c6a7a6$94b90140$0200a8c0 AT 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 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 * 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, --key-separator[=] set key separator to 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/