Searching for a certain file.


Posted by Mick on August 25, 2001:

Hi. I've searched high and low for an answer to this question, so far with no luck whatsoever. I'm in need of a good example of the following question please:


There's a file on C:\. I don't know the actual name of this file, but I know everything else there is to know about it. Extention .exe, the exact size 601KB and anything else there is to know about this file.

How can I search for this file and get the path and the file name into a variable ( EG: c:\documents\TheNameOfTheEXE.exe ) ??

An example would be much appreciated.

Related Articles and Replies

[ Related Articles and Replies ] [ DelphiLand Forum ] [ Delphi Tutorials ]