Jun 10, 2002 #1 vlitzer Programmer Apr 30, 2002 31 AR what i need is to get a "dir" command so i can retrieve the file names and directories.. how i can do that?
what i need is to get a "dir" command so i can retrieve the file names and directories.. how i can do that?
Jun 11, 2002 1 #2 Zyrenthian Programmer Mar 30, 2001 1,440 US CFileFind is one approach. CFileFind finder; BOOL filesExist = (BOOL)finder.FindFile("*.*" while(filesExist) { finder.FindNextFile(); you can then use the member funciton to see if it is a directory if(finder.IsDirectory()) ... else ... }// end while Matt Upvote 0 Downvote
CFileFind is one approach. CFileFind finder; BOOL filesExist = (BOOL)finder.FindFile("*.*" while(filesExist) { finder.FindNextFile(); you can then use the member funciton to see if it is a directory if(finder.IsDirectory()) ... else ... }// end while Matt
Jun 11, 2002 Thread starter #3 vlitzer Programmer Apr 30, 2002 31 AR whow thats very usefull. thanks a lot! Upvote 0 Downvote