Re: Searching particular directory for a certain file

Posted by Tom on September 05, 2008

In Reply to Searching particular directory for a certain file posted by 5qu1nt on September 04, 2008

I think this will help:

AppDir := ExtractFilePath(Application.ExeName);
FileName := AppDir + 'MyFileName';
if FileExists(FileName) then
begin
  ...
end;

Sincerely,
Tom Barnett
HelpSmith 2.0 is Released. Have You Yet Upgraded?

Related articles

       

Follow Ups