delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/14/20:35:49

X-Spam-Check-By: sourceware.org
Message-ID: <000a01c6a7a6$94b90140$0200a8c0@UrsaMajor>
From: "Stephen D Lindner" <intel AT comcast DOT net>
To: <cygwin AT cygwin DOT com>
References: <003201c6a78f$b1c49450$0200a8c0 AT UrsaMajor> <Pine DOT GSO DOT 4 DOT 63 DOT 0607141802130 DOT 8651 AT access1 DOT cims DOT nyu DOT edu> <000a01c6a79e$5ee539b0$0200a8c0 AT UrsaMajor> <Pine DOT GSO DOT 4 DOT 63 DOT 0607141956000 DOT 8651 AT access1 DOT cims DOT nyu DOT edu>
Subject: Re: Double backslashed registry names can't be found?
Date: Fri, 14 Jul 2006 20:35:31 -0400
MIME-Version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

OK, no more top posting...I can take a hint...erp, excuse me.
----- Original Message ----- 
From: "Igor Peshansky" <pechtcha AT cs DOT nyu DOT edu>
To: "Stephen D Lindner" <intel AT comcast DOT net>
Cc: <cygwin AT cygwin DOT com>
Sent: Friday, July 14, 2006 8:04 PM
Subject: Re: Double backslashed registry names can't be found?


> Ugh, top-posting...  Reformatted.
>
> On Fri, 14 Jul 2006, Stephen D Lindner wrote:
>
>> ----- Original Message -----
>> From: "Igor Peshansky" <pechtcha AT XX DOT XXX DOT XXX>
>> To: "Stephen D Lindner" <intel AT XXXXXXX DOT XXX>
>> Cc: <cygwin AT XXXXXX DOT XXX>
>
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
>
>> Sent: Friday, July 14, 2006 6:04 PM
>> Subject: Re: Double backslashed registry names can't be found?
>>
>> > On Fri, 14 Jul 2006, Stephen D Lindner wrote:
>> >
>> > > Since windows maintains ROT13 entries of every document that was ever 
>> > > on
>> > > the recent documents list going back (at least) five years, I decided 
>> > > to
>> > > clean things up. But windows maintains backslashed pathnames for the
>> > > name that follows the key. So if you forward slash the key hierarchy 
>> > > and
>> > > double backslash the Microshaft pathname, it should work. Right? I
>> > > typed...
>> > >
>> > > regtool check
>> > > '/user/Software/Microsoft/Windows/CurrentVersion/Explorer/UserAssist/{75048700-EF1F-11D0-9888-006097DEACF9}/Count/HRZR_EHACVQY\:P\:\\Qbphzragfnaq
>> > > Frggvatf\\Fgrcura Yvaqare\\Erprag\\QFP00055.WCT.yax'
>> > >
>> > > and it sez:
>> > > Error (2): The system cannot find the file specified.
>> > >
>> > > I also tried "get" and "remove", etc. I also tried every 
>> > > combinatorial
>> > > of fore and aft slashes. I also tried escaping and not escaping the 
>> > > :'s
>> > > and spaces. I tried combinatorials of the above. I've been careful to
>> > > match case. I also tried both a forward slash and a double backslash
>> > > between the key and the name. I always get the same error.
>> >
>> > Ah, but have you tried the -K regtool option?  BTW, your quoting looks
>> > wrong -- either use the single quotes, or backslashes to escape stuff, 
>> > but
>> > not both.
>> >
>> > > I ran the Cygwin updater just 5 days ago. I tried rebooting. I tried 
>> > > all
>> > > the usual suspects. Now I'm bothering all of you. Apologies in 
>> > > advance
>> > > if I've omitted something obvious.
>> > >
>> > > Steve Lindner
>> > >
>> > > BTW: Why does Microsoft encrypt my own information on my own machine 
>> > > and
>> > > retain it forever?
>> >
>> > Because they can. :-)
>> > Igor
>>
>> Thanks for responding so quickly but no joy.
>> I tried the -K option but info sez that's only for set and unset.
>> Is it useful for others?
>
> Yes, it can be used for any option that specifies a key/value pair.
> Documentation <http://cygwin.com/acronyms/#PTC>.
>
>> I tried...
>>
>> regtool -K+ check 
>> '/user/Software/Microsoft/Windows/CurrentVersion/Explorer/UserAssist/{75048700-EF1F-11D0-9888-006097DEACF9}/Count+HRZR_EHACVQY:P:\Qbphzragf 
>> naq Frggvatf\Fgrcura Yvaqare\Erprag\QFP00055.WCT.yax'
>
> Actually, I was wrong.  You do need to escape the backslashes twice
> (inside the single quotes) when using regtool, because that's how regtool
> historically expects them to be.  So,
>
> regtool -K+ check 
> '/user/Software/Microsoft/Windows/CurrentVersion/Explorer/UserAssist/{75048700-EF1F-11D0-9888-006097DEACF9}/Count+HRZR_EHACVQY:P:\\Qbphzragf 
> naq Frggvatf\\Fgrcura Yvaqare\\Erprag\\QFP00055.WCT.yax'
>
> should work.  Unfortunately, this is probably something we're stuck with
> for the sake of backwards compatibility.  Again, documentation patches
> thoughtfully considered (and this is probably worth mentioning in the
> User's Guide).
> Igor
> -- 

Rats! Still didn't work. I cut'n-pasted your kind example. Still sez:
Error (2): The system cannot find the file specified.
Sumpin' is screwy. Overflowing a buffer? Let me be REALLY clear so we're 
sure I'm not sending bad info.
The key sequence is:
/HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/UserAssist/{75048700-EF1F-11D0-9888-006097DEACF9}/Count
The name sequence is:
HRZR_EHACVQY:P:\Qbphzragf naq Frggvatf\Fgrcura 
Yvaqare\Erprag\QFP00055.WCT.yax
The value of this name is something in hex...doesn't matter right?

I emacsed together a script to wipe years of junk out of the rotten-13 
sections. But until I can do one, none will work.
I want to check symbols on all before I let the removals fly.
Steve

> http://cs.nyu.edu/~pechtcha/
>      |\      _,,,---,,_     pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
> ZZZzz /,`.-'`'    -.  ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
>     |,4-  ) )-,_. ,\ (  `'-' old name: Igor Pechtchanski
>    '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends 
> compte."
> "But no -- you are no fool; you call yourself a fool, there's proof enough 
> in
> that!" -- Rostand, "Cyrano de Bergerac"
>
> --
> 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/
>
> 



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019