Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!haven!aplcen!jhunix!c08_d103 From: c08_d103@jhunix.HCF.JHU.EDU (Ex-God) Newsgroups: comp.sys.apple Subject: Re: Hyper C Summary: deleting files Message-ID: <883@jhunix.HCF.JHU.EDU> Date: 27 Feb 89 05:32:25 GMT References: <511@madnix.UUCP> Reply-To: rat@madnix.UUCP (David Douthitt) Distribution: usa Organization: The Johns Hopkins University - HCF Lines: 29 In article <511@madnix.UUCP> rat@madnix.UUCP (David Douthitt) writes: >...I tried to delete the old files...and none of them would delete. >Copy II+ and BLU report error $56, bad buffer address. BASIC says NO >BUFFERS AVAILABLE. > >I don't like having 7 files, 36 blocks each, and 1 file, 191 blocks taking >up my space!! GRR!! Well, I don't know enough about the details to tell you how to delete the files with any program I know of, but I can give you two ways to delete any file. Method #1: Go into a sector editor (e.g. the one in C2+), remove the entry from the directory (by blanking it out) or mark it as deleted, and mark all its sectors (use the disk map command in C2+ to find out which sectors are part of the file) as free on the disk map sector. Method #2 (the easy way): Copy all the files you want to keep to another disk, then reformat the original disk and copy all the files back to it. This also has the advantage of optimizing your disk (in case you delete files often). I can't think of a reason either of these two methods would fail to delete a file on an otherwise fine disk.... -- Andrew Barnert // ex-God // Smilin' Jack // etc. ins_balb@jhunix // ins_balb@jhuvms // c08_d103@jhunix The opinions expressed in this message are yours. So there. "If you can't stand the Big Chill, burn down the freezer." -- Jello Biafra