Listing hidden dir's
-
I want to list all the directories in a folder including the hidden dir's.Which function to be used? Thanks..
-
I want to list all the directories in a folder including the hidden dir's.Which function to be used? Thanks..
Use
CFileFind
.CFileFind finder;
//find files from current directory
BOOL bWorking = finder.FindFile(L"*.*");
while (bWorking)
{
bWorking = finder.FindNextFile();
if (finder.IsHidden())
{
//hidden file
}
}Prasad Notifier using ATL | Operator new[],delete[][^]
-
I want to list all the directories in a folder including the hidden dir's.Which function to be used? Thanks..
How about the
FindFirstFile()
/FindNextFile()
pair?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
-
I want to list all the directories in a folder including the hidden dir's.Which function to be used? Thanks..
See
DlgDirList
WhiteSky