>>Hi..this is the first time I come here and ask for help
>>I would love to know if there is any code in foxpro that can help me to find a file in certain directory.
>>the path of the directory is given.....could foxpro can get there to see if certain .dbf file is there. if yes it can return true or something.............
Welcome, Po.
you can do something like this:
If File("c:\YourDir\YourFile.dbf")
else
endif
Alternatively, you can use the ADir() function, in order to know all the files in a given directory.
Claudio Lassala