[ROOT] Searching for a file on the current working directory

From: Stilianos Kesisoglou (kesisogl@fnal.gov)
Date: Sat Jul 12 2003 - 00:54:02 MEST


Hi,

    Does anyone knows how to search for a file in the current working directory from a ROOT macro?

    Let's say my macro is named "macro.C" and when I run it on the prompt:

        prompt> root -l macro.C

    I want to be able to detect if a certain file let's say "macro.root" exists on the current working directory.

    How can I do that?

    Thanks!

Stelios.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET