Home » U++ Library support » FileSel&FileList, Path » Get Files in a directory
Re: Get Files in a directory [message #7256 is a reply to message #7237] |
Tue, 19 December 2006 17:11 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
Use FindFile.
FindFile ff(AppendFileName(mydir, "*.*"));
while(ff) {
... you get the name in ff.GetName() and attributes in other methods
ff.Next();
}
FileSystemInfo is most likely a overkill here - it is useful for very specific situation as virtualisation of filesystem. Typical use is using FilSel to browse directory on some else computer connected via TCP/IP (only).
Mirek
[Updated on: Tue, 19 December 2006 17:14] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon May 27 21:33:18 CEST 2024
Total time taken to generate the page: 0.00748 seconds
|