Directory and file search
Is there a way you can pull directory names and file names of the disk drive automatically?
What I mean is that if I ave my game dir, can I get a list of it''s files and subdirectories without actually knowing what they are?
Answers in C would be very helpful,
Regards,
-Mezz
Automatically? Access to the FAT is possible but not automatically. I recall reading an article in Windows Developers Journal www.wdj.com that could answer your question. It was a few years ago and the article was about long file names and 8.3 format filenames and how to find the long filename buried in the FAT if all you have is the DOS 8.3 format.
Other than that, try searching MSDN for the Win32 API functions like EnumFilenames or EnumDirectoryContents, these sould be in SHLWAPI.DLL (Shell API)
Other than that, try searching MSDN for the Win32 API functions like EnumFilenames or EnumDirectoryContents, these sould be in SHLWAPI.DLL (Shell API)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement