Xref: utzoo comp.sys.ibm.pc.programmer:1755 alt.msdos.programmer:1702 Path: utzoo!attcan!uunet!shelby!mcnc!uvaarpa!haven!aplcen!unmvax!sci.ccny.cuny.edu!cucard!dasys1!cooper!phri!sci.ccny.cuny.edu!rpi!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!tut.cis.ohio-state.edu!husc6!wjh12!djb From: djb@wjh12.harvard.edu (David J. Birnbaum) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: file size Message-ID: <473@wjh12.harvard.edu> Date: 2 Jun 90 01:48:41 GMT Reply-To: djb@wjh12.UUCP (David J. Birnbaum) Organization: Harvard University, Cambridge MA Lines: 19 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] ============================================================