From: ebling AT premiernet DOT net (Stuart Ebling) Newsgroups: comp.os.msdos.djgpp Subject: Re: Upgrading DJGPP installations Date: Tue, 28 Jan 1997 06:00:47 GMT Organization: PremierNET, Inc. Lines: 63 Message-ID: <32ed95ce.4840540@nntp.premiernet.net> References: NNTP-Posting-Host: slip02.premiernet.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp "Mike A. Harris" wrote: >On Thu, 23 Jan 1997, Eli Zaretskii wrote: > >> >> On Wed, 22 Jan 1997, Mike A. Harris wrote: >> >> > all kinds of stuff) over top of the old stuff. I've come across some >> > problems in doing this however and am now wondering how one joes about >> > un-installing a djgpp package. ie: >> > >> > C:\>PKUNZIP -d RHIDE11b.zip djgpp\ >> > >> > How is it done? >> >> Please explain what do you mean by uninstalling a package. The above >> PKUNZIP command only unzips a package preserving the directory structure, >> so I don't see where the ``uninstall'' part enters the scene. > >That was an analogy of what I'd like to do. When you install a djgpp >package with PKUNZIP -d how do you uninstall it. My analogy was a >little broken. :o) > >I'd really like to: >DEL /s \djgpp\@list_of_files_in_a_particular_package (the MANIFEST >directory?) > >What I mean is that the MANIFEST files seem to be a list of what was >installed in each package. Hmmm. I think 4DOS might allow file lists >like I want above. Hold on let me check... > >Nope, couldn't find it in online help anyways. I think 4DOS can do >it, but I've never needed it before. Maybe something like: > >CAT MANIFEST\XXXXXX.MFT | FOR %DELFILE IN (@CON) DO DEL %DELFILE > >Hmm. I'll try that out if no-one comes up with something better. >Gotta love 4DOS. :o) > >Mike A. Harris - Computer Consultant http://www3.sympatico.ca/mharris >My dynamic address: http://www3.sympatico.ca/mharris/ip-address.html >mailto:mharris AT sympatico DOT ca mailto:mharris AT blackwidow DOT saultc DOT on DOT ca > >Want a Windows emulator for Linux? Visit Caldera's website: www.caldera.com > Try the "rm" command that comes with djgpp in the "file utils" package (it's the UNIX rm command). Eli told me about this trick some time ago (I don't think it is in the docs for rm but I could be wrong) If your base djgpp directory is say c:\djgpp then cd \djgpp rm -rvf @manifest/package_name.mft (look up the individual options -r -v -f for rm using info) Essentially the command removes the files listed in the "manifest/package_name.mft" file. -- Stuart Ebling ebling AT premiernet DOT net