thx guys. I would have never looked at the Read function for retrieving directory contents. I guess I developed for POSIX systems too much :P
On Tue, Sep 15, 2015 at 7:19 PM, Andrew Fish <[email protected]> wrote: > > On Sep 15, 2015, at 10:10 AM, Michael Zimmermann <[email protected]> > wrote: > > Hi, > > this sound somewhat trivial but I can't find a way to list the files of a > directory. > the EFI_FILE_PROTOCOL just allows to open a (sub-) file/directory but not > to get a list of all child nodes. > > > Michael, > > This is an example. > https://github.com/tianocore/edk2/blob/master/EmbeddedPkg/Ebl/Dir.c > I was going to point to the Shell, but it uses internal libraries to do > the magic. > > Thanks, > > Andrew Fish > > Michael > _______________________________________________ > edk2-devel mailing list > [email protected] > > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.01.org_mailman_listinfo_edk2-2Ddevel&d=BQICAg&c=eEvniauFctOgLOKGJOplqw&r=1HnUuXD1wDvw67rut5_idw&m=yaKCYjoEy_1D8MaMcHmmYd8oBb3RiWoVAqlYHE-s9X8&s=-N3uymndAZhrUaSgrKhjqqxseEqjU8I3bi0zBsfF1eY&e= > > > _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

