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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 9 Jul 2004 10:28:07 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Systemtechnik <technik@kreisbote.de>
cc: cygwin@cygwin.com
Subject: Re: "regtool 1.8" on "cygwin 1.5.10": Recursively remove registry keys
In-Reply-To: <B003F13E-D198-11D8-98E6-000393CE9342@kreisbote.de>
Message-ID: <Pine.GSO.4.58.0407091027390.442@slinky.cs.nyu.edu>
References: <27D63A28-D17A-11D8-98E6-000393CE9342@kreisbote.de> <20040709091658.GC6590@cygbert.vinschen.de> <B003F13E-D198-11D8-98E6-000393CE9342@kreisbote.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Fri, 9 Jul 2004, Systemtechnik wrote:

> >> it seems that regtool cannot remove keys in registry if it's "not
> >> empty". I have to remove all subkeys/values first, otherwise i get an
> >> "Error (5) access denied". Is this true, or is there a way to remove
> >> whole "trees" from the registry ?
> >
> > AFAICS, regtool has no "recursive" option.  Patches welcome.  See
>
> Maybe i write some kind to "dir-crawler" in perl/shell to do this...

Try "find -depth"...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

