Re: change current directory to memory?

Kurt Rinnert (rinner@ekp.physik.uni-karlsruhe.de)
Thu, 13 May 1999 16:44:41 +0200


Ulrich Jost wrote:
>
> Hi,
>
> how can I change the current directory back to 'memory', eg after opening
> a file?
> gDirectory->cd("root:/"); gives a segmentation fault.
>
> Thanks, Ulrich

Hi Ulrich,
my solution was:

gROOT->cd();

But I must admit that I found it by a wild guess and thus do not know,
if it is the "right way" to do it.

cheers
Kurt

-- 
Kurt Rinnert  <rinnert@ekp.physik.uni-karlsruhe.de>