I'm looking for a function that lists all sub-directories in a directory. I use
struct ffblk ffblk;
int done;
done = findfirst("drive\\pathname\\*.*", &ffblk, 0);
to list files from a directory but I can't see sub-directories. Is there a function that does about the same as findfirst for listing sub-directories?
struct ffblk ffblk;
int done;
done = findfirst("drive\\pathname\\*.*", &ffblk, 0);
to list files from a directory but I can't see sub-directories. Is there a function that does about the same as findfirst for listing sub-directories?