RE: can I use findfirst - findnex for file search and collection?

From: Fine, Valeri <fine_at_bnl.gov>
Date: Fri, 31 Mar 2006 11:41:19 -0500


>
> Hello, dear rooters :),
>
> My task is prepare a list of files in specified directory by macro for
> ROOT interpretator (CINT).
> Does the ROOT has some functions for searching of files? I mean
> something like findfirst() findnext() routines in <dir.h>, which
> standart for dos and windows?

Yes it does, see

http://root.cern.ch/root/htmldoc//TSystem.html#TSystem:OpenDirectory

http://root.cern.ch/root/htmldoc//src/TSystem.cxx.html#TSystem:GetDirEnt ry

> Can you help me?
>

  Yes. Let me know if you have further question on issue.

 Best regards, Valeri

> Thank you in advance.
>
> --
> Best regards,
> Anton mailto:anton_roottalk_at_tut.by
Received on Fri Mar 31 2006 - 18:42:07 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET