There was a typo in my reply:
it was
> if (dirp) printf(" file = %s\n", gSystem->GetDireEntry(dirp);
it must
if (dirp) printf(" file = %s\n", gSystem->GetDirEntry(dirp);
Best regards, Valeri
>
>
>
>
> > Hallo, I should use OpenDirectory("path") on winNT but how do I specify
> > the path? I tried OpenDirectory ("C:/dir1/dir2/") but it does not work.
>
> Can you elaborate a little bit how did you work and how one can reproduce
> the problem you
> are complaining about.
>
> See class
> http://root.cern.ch/root/htmldoc/src/TFileSet.cxx.html#TFileSet:TFileSet .
> It gives a good example how one can loop over the directory tree
structure.
>
> Can you try and tell us what you see:
>
> void *dirp = gSystem->OpenDirectory("c:/dir1/dir2");
> if (dirp) printf(" file = %s\n", gSystem->GetDireEntry(dirp);
>
> Best regards, Valeri
> >
> > many thanks
> > Silvia
> >
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:12 MET