Re: change drive on Windows

From: Kazuyoshi Furutaka <furutaka_at_jb3.so-net.ne.jp>
Date: Wed, 28 Feb 2007 21:17:21 +0900 (JST)


Dear rooters,

From: Philippe Canal <pcanal_at_fnal.gov>
Subject: RE: [ROOT] change drive on Windows Date: Tue, 27 Feb 2007 11:06:27 -0600

> Simply do: gSystem->cd("d:\\");
>
> Cheers,
> Philippe.

Thanks, Philippe. It works.

Luca Boncagni <boncagni_at_frascati.enea.it> also kindly taught the command via private e-mail. Thanks Luca.

I have one more question.

How do we access files in different drives than the drive from which root shell was invoked, using TBrowser? By doing gSystem->cd("d:\\"), I can see files on the new drive from root/cint shell, but even after the command I could only see files on the old drive in TSystemDirectory::workdir.

Thanks in advance.

Yours,
Kazuyoshi

--
Kazuyoshi Furutaka
furutaka_at_jb3.so-net.ne.jp
Received on Wed Feb 28 2007 - 13:17:36 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 28 2007 - 17:50:00 CET