Can someone please tell me what is the difference between files and folder as far as when I am using findfirst and findnext?
If I'm trying to see if my the current folder contains a subfolder, do I just do something like this?
struct ffblk FileBlock
// Let's say path is something like D:\tmp
i = findfirst (Path, &FileBlock, FA_DIREC);
Is this only going to return 0 if there is a subfolder?
And if I do this instead?
i = findfirst (Path, &FileBlock, (FA_NORMAL | FA_RDONLY));
This should find only the normal files and read-only files?