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

X-Spam-Check-By: sourceware.org
Date: Fri, 14 Jul 2006 20:04:31 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Stephen D Lindner <intel AT comcast DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Double backslashed registry names can't be found?
In-Reply-To: <000a01c6a79e$5ee539b0$0200a8c0@UrsaMajor>
Message-ID: <Pine.GSO.4.63.0607141956000.8651@access1.cims.nyu.edu>
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>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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

- Raw text -


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