This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Double backslashed registry names can't be found?


OK, no more top posting...I can take a hint...erp, excuse me.
----- Original Message ----- From: "Igor Peshansky" <pechtcha@cs.nyu.edu>
To: "Stephen D Lindner" <intel@comcast.net>
Cc: <cygwin@cygwin.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@XX.XXX.XXX>
To: "Stephen D Lindner" <intel@XXXXXXX.XXX>
Cc: <cygwin@XXXXXX.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@cs.nyu.edu | igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]