From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: deleting stuff from djgpp directory? Date: Fri, 09 May 1997 08:44:32 -0400 Organization: Cornell University http://www.cornell.edu Lines: 32 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33731C30.791E@cornell.edu> References: Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0006.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Michael Flegel wrote: > > > I just downloaded RHID12BB from R Hoene's website. And I wanted to > delete the old version before I installed the new one. So I printed > out the file from the manifest directory and deleted all files that > were in it. Is there a simpler way of doing this? > There really ought to be... :-) If any onw knows, please email me. > duh ... it would take less effort to write a simple utility to read each line and delete the appropriate file than to print out the mft file and delete the files by hand. try it. it would need three options: -d : specify the djgpp installation directory -p : name of the package (w/o path) -e : read the djgpp installation directory from the environment (DJGPP) then, all you need to do is open the appropriate mft file, read it in line by line, form the full path to each file and delete it. voila, you got yourself a nifty utility. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************