www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/09/10:33:01

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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: <Pine DOT VMS DOT 3 DOT 91-b11-vms DOT 970509122533 DOT 5060A-100000 AT sat113 DOT physnet DOT uni-hamburg DOT de>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0006.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.
*******************************************************************

- Raw text -


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