Click to See Complete Forum and Search --> : HELP Why deleted files remain in FAT?


Levente Farkas
April 11th, 1999, 12:11 PM
Hello,

I would like to delete a file so that its original name cannot be seen after deleted. I am aware that if I simply delete it its content will remain on disk and the name in the FAT (with the first letter overwritten).

I can handle the content (overwrite the data and then truncate to 0 before deleteing).

I do not know what to do with the file name. I figured that if I rename it before I delete it, I could solve the problem. But when I delete a file, its 2 or more entries in FAT (one for the short and one or more for the long name) are abandoned in the FAT and another 2 entries are allocated.

Please tell me how can I get rid of the name? Do I really have to dig in the FAT? And is this also happening on NTFS?

PLEASE HELP:(

Best regards,
Levente


----------------------------
Levente Farkas
FarkasL@interscope.ro~~~
www.essentialdetails.com
 Interscope
   where details become essential



(my address is altered to prevent junk mail, remove the trailing ~s)

April 16th, 1999, 10:01 PM
Fat is a unique ******* case, if you read up on the directory entry table you will know what you want, as for the Advanced file systems such as NTFS file names are maintained entirely differently. Since Fat32 is different yet from fat16, which I presume you are talking about, I have no Idea how it looks compared to Fat32, and handling your problem is unique to the operating system, unless you write your own driver for your program.