Thanks for the replies. I wrote my own recursive
routine. Does what I want.

However, I came across this in the Delphi help files

LPSTR FindFileInTree(LPSTR szFile, LPSTR szDir, LPSTR szBuf, int cbBuf);

FindFileInTree searches for the specified file in a directory and its
subdirectories.

But Delphi says "Undeclared identifier: 'FindFileInTree'."

Any comments?


----- Original Message ----- 
From: "whitehat" <[EMAIL PROTECTED]>
To: "Delphi-Talk" <[email protected]>
Sent: Tuesday, April 19, 2005 7:32 AM
Subject: Search For File


> I want my program to search all hard drives for the
> location of a particular file. I should be able to
> make use of the Windows search procedure but I don't
> know how.
> Any help, or do I have to write my own recursive
> routine to do it?
>
> __________________________________________________
> Delphi-Talk mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi-talk
>
>
>


__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to