Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating a fat16 model

Tags:

c++

c

delphi

pascal

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;
like image 217
thequantumtheories Avatar asked Jul 23 '26 15:07

thequantumtheories


1 Answers

Look at Compound File implementation by SO user Primoz Gabrijelcic. It is not FAT16, but very close to what you are looking for.

like image 185
kludg Avatar answered Jul 25 '26 07:07

kludg