i am trying to create a Model FAT16 file system in a file with the ability to create, view, delete and copy files and directories,but i new to programming anyone with ideas on how i can go about it?i want something like this below
type
TFileRec = Packed Record
ID: WORD; //id of item
ParID: WORD; //parent id
Name: String[8]; //name of item
Ext: String[3]; //extension if any (type)
Att: BYTE; //attributes (access modifiers, type, etc)
end;
var
FAT16: File of TFileRec;
ItemCount: Integer;
Look at Compound File implementation by SO user Primoz Gabrijelcic. It is not FAT16, but very close to what you are looking for.