PRODUCT : Borland C++ NUMBER : 1710 VERSION : All OS : DOS Windows DATE : October 25, 1993 PAGE : 1/1 TITLE : Using findfirst with the FA_DIREC attribute /* Problem: When using findfirst with the FA_DIREC attribute, I get regular DOS files in addition to the directories. How do I get just the directories? Solution: Using FA_DIREC doesn't mean *only* return directories; it means include directories along with regular files. The solution is to check each ffblk found against the FA_DIREC attribute. */ #include