#Dir for C
If you simply want to know if a file exists, you can use the standard C library
function, access() (or _access()). If you want more information about the file,
it's time stamp or size for instance, you can use stat(). If you want to get a
list of files in a directory, try _dos_findfirst() and _dos_findnext().
Chris