Re: quickest way to retrieve a list of files

new topic     » topic index » view thread      » older message » newer message

Hayden McKay wrote:
> 
> you could use euphoria's walk_dir().
> 
> If your useing DOS you could use the BIOS int 13h to read in the disk sector
> at head, track, sector 0:0:0 

Where can I get the code to do that?

to get copy of the FAT info. once you know how
> many sectors the FAT uses. simply read in the number of the FAT's sectors.
> 
> You will now have a copy of all the files and directories on the disk.
> 
> note. sectors wrap arround the the next head. so for FAT12 when you reach the
> end sector on ie: head-0 track-0 you need to switch to head-1 track-0 and the
> next sectors after that would be back on head-0 track-1.
> 
> I'd just stick to useing walk_dir()

Don Cole
A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu