May 12, 2004 #1 mmfried Programmer Sep 17, 2003 33 IL Hi All, - how do I get All files in a directory? - Is there anything like the unix opendir()? - How can I find Out if a directory exist, can I just try to open it (i.e. open, fopen, fstream, etc.)? Thanks mmfried
Hi All, - how do I get All files in a directory? - Is there anything like the unix opendir()? - How can I find Out if a directory exist, can I just try to open it (i.e. open, fopen, fstream, etc.)? Thanks mmfried
May 12, 2004 1 #2 Cagliostro Programmer Sep 13, 2000 4,226 GB GetFileAttributes - check the path SetCurrentDirectory - change directory FindFirstFile/FindNextFile - list directory Ion Filipski Upvote 0 Downvote
GetFileAttributes - check the path SetCurrentDirectory - change directory FindFirstFile/FindNextFile - list directory Ion Filipski
May 12, 2004 1 #3 B00gyeMan Programmer Jan 14, 2004 259 RO After using FindFirstFile/FindNextFile, use FindClose to close the specific search handle. You can also use SearchPath function to search for a specified file in a specified path. Upvote 0 Downvote
After using FindFirstFile/FindNextFile, use FindClose to close the specific search handle. You can also use SearchPath function to search for a specified file in a specified path.