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?



Hi Mingjun,

To get infos on the file, you can use one of the TSystem::GetPathInfo() methods. See:

Cheers, Bertrand.