i am trying to list all my files in a folder..that i can do
but problem is i also want to do this..
if there is a folder inside a folder i want to list all the files in that folder too...
want to list files from inside the folder too,,,
char * fname;
hFile = FindFirstFile(dPath,&FileData);
if ( INVALID_HANDLE_VALUE == hFile )
fname = FileData.cFileName;
if ( 0 == FindNextFile(hFile, &FileData ) )