Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!think!bloom-beacon!mit-eddie!bbn!rochester!cornell!batcomputer!itsgw!steinmetz!uunet!mcl!unibase!leigh
From: leigh@unibase.UUCP (Leigh Calnek)
Newsgroups: comp.sys.apple
Subject: recovering lost programs under DOS 3.3
Message-ID: <87@unibase.UUCP>
Date: 21 Jun 88 19:39:57 GMT
Organization: EMIS Consulting, Regina, Saskatchewan, Canada
Lines: 28

trying to make it so my students could not copy it, I added a "new" 
statement at the end of the program.  I then proceded to test the 
program, and sure enough, it worked, the program was cleared from 
memory.  Then, without thinking, I saved it!  You guessed it, I 
overwrote the existing program with the null program.  Looking at 
the directory of the disk, I note that it still occupies 44 blocks, 
however if I try to load it I get what I saved, nothing.  

The above scenario was described to me by a friend who knows better 
but did it anyway.  If he were working with MSDOS I would know what 
I could do however I am not very familiar with Appledos.  Does 
anyone know of a utility for DOS 3.3 that will let you work at the 
byte level on an apple diskette and fiddle with the binary data in 
the file?  Is it possible to recover all but the first block of the 
lost program, or is it gone for all times?  Any suggestions would be 
appreciated.

 
------------------------
uunet!mcl!unibase!leigh
Leigh Calnek                 Co-ordinator, Education Technology
3002 Harding St.             Saskatchewan Education
Regina, Sask. Canada         2220 College Ave.
S4V 0Y4                      Regina, Saskatchewan, Canada
phone: home (306)789-9007    S4P 3V7
       bus. (306)787-9448