views:

207

answers:

1

I'm writing an Windows Mobile application and I'd like to get a list of files in a certain folder on the device. Is there an API to use to read information about folders and files in the device file system?

+2  A: 

That will be just like a desktop application would do it. For .NET have a look at DirectoryInfo and similar classes.

For C++ start from FindFirstFile

kgiannakakis
Yes, FindFirstFile et al works fine. Don't know why I didn't realize that I can use that one on Windows Mobile as well. Thanks for the hint.
Jonas Pegerfalk