Board index » delphi » HELP-SEARCHING THE HARD-DRIVE!!

HELP-SEARCHING THE HARD-DRIVE!!

HELP!!!

I'm looking for a way to search the any drive for files that are smaller
than xxxx bytes, counting them, and getting information about each
file's size!!

How do I do this,  anyone????????

Please e-mail me on this adress: ytron...@sn.no
--
Yngve Tronstad
NORWAY
URL: http://www.stud.ntnu.no/~yngvet/roy1.htm

 

Re:HELP-SEARCHING THE HARD-DRIVE!!


Quote
Roy Tronstad wrote:

> HELP!!!

> I'm looking for a way to search the any drive for files that are smaller
> than xxxx bytes, counting them, and getting information about each
> file's size!!

> How do I do this,  anyone????????

> Please e-mail me on this adress: ytron...@sn.no
> --
> Yngve Tronstad
> NORWAY
> URL: http://www.stud.ntnu.no/~yngvet/roy1.htm

You will need to call FindFirst(),FindNext(),FindClose() to get the
directory structure, then go though the directory list, using
FileSize();

Joe
--
Joe C. Hecht
Borland Delphi Developer Support Group
Technical Documents and Online Forums are available at
http://www.borland.com

Other Threads