[alt.msdos.programmer] file size

djb@wjh12.harvard.edu (David J. Birnbaum) (06/02/90)

Is there an efficient way to locate files by size in a system?
Three possible approaches seem to be 1) read the disk directories
directly, 2) find every file and use dos service 23h to get
the size, and 3) use services 4eh and 4fh to find all files and
check their size in the dta.  Is there any particular approach
that is more efficient and less risky than any other?

Please reply by email; I will post a summary if anything interesting
comes in.

Thanks,

David


============================================================
David J. Birnbaum         djb@wjh12.harvard.edu [Internet]
                          djb@harvunxw.bitnet   [Bitnet]
============================================================

djb@wjh12.harvard.edu (David J. Birnbaum) (06/02/90)

Apologies for this posting.  I posted it several months ago
and I have no idea why it suddenly reappeared under a new
date - perhaps my local system was restored from a very old
backup.

In any case, please do not respond.

--David

============================================================
David J. Birnbaum         djb@wjh12.harvard.edu [Internet]
                          djb@harvunxw.bitnet   [Bitnet]
============================================================