I'm trying to get a list of all folders/sub-folders name.
I have tried to use CFileFind::GetFileName to return the folder name but it gives me only the string ".".
I have also tried to use WIN32_FIND_DATA and FindFirstFile to return the folder name but it only works on the first series of folders in c: drive.
So what should i do to get all the folders name within c: drive?
I have read another similar question in experts-exchange submitted by electrick but I still did not get the solution.