Hi ROOTers, probably a FAQ but here it goes: Which is the best way to check for the existence of a file given a full path/fileName (any file, not ROOT one). I suspect sth in TUnixSystem but cannot find the exact member function. Thanks,
filimon
Hi ROOTers, probably a FAQ but here it goes: Which is the best way to check for the existence of a file given a full path/fileName (any file, not ROOT one). I suspect sth in TUnixSystem but cannot find the exact member function. Thanks,
filimon
use
if (gSystem->AccessPathName(filename,kFileExists)
Rene