Sorry for the bad news:
When a file is deleted, the first character of the file name in the directory entry (not in FAT) becomes 0xE5 (This is the deletion mark) and the clusters are declared free. That means in FAT a 0 is written in the cells corresponding to the clusters of the deleted file. For file recovery you have to replace in the directory entry, not in FAT, the first character of the file name with anything but 0xE5 (deleted) or 0x00 (first free entry in directory) and, in FAT, restore the cluster chain. The first cluster can be retrieved from the directory entry. The next, well, you have to guess either supposing the file was unfragmented, either by data inspection and so on. If the file is smaller than 1 cluster (512 bytes on floppies - Ouch!) then recovery is 100% possible. Otherwise it's like putting together the pieces of a broken glass object. For directory entries and FAT access, use DISKEDIT.EXE in Windows 95/98/ME's DOS mode
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.