Searching particular directory for a certain file

Posted by 5qu1nt on September 04, 2008

Hello, I basically just need to run an if statement asking if the root directory of the program contains a file, and if so stuff must be done...

so like

if [Root Directory contains testfile.txt]
then begin

end
else


What is the correct function / method to use in order to achieve this ?

Thanks

Related articles

       

Follow Ups