How to get the attributes of a TXT file

I would use ROOT to read the data from a TXT file , and also would like to get some attributes of this TXT file, eg. the date and time. How to make it?

Thanks.

Mingjun

Hi Mingjun,

To get infos on the file, you can use one of the TSystem::GetPathInfo() methods. See:
http://root.cern.ch/root/html/TSystem.html#TSystem:GetPathInfo

Cheers, Bertrand.