RE: change drive on Windows

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 27 Feb 2007 11:06:27 -0600


Hi,

Simply do: gSystem->cd("d:\\");

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Kazuyoshi Furutaka
Sent: Tuesday, February 27, 2007 7:58 AM To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] change drive on Windows

Dear rooters,

Could someone teach me how to change drive within root/cint shell on windows?
It seems that both `gSystem->Exec("d:")` and `gSystem->Exec("cd/d d:")` fail to change the current drive to d:.
(I'm using a copy of root_v5.15.02.win32gdk.msi on WinXp Home Edition version 2002 SP2)

Thanks in advance.

Yours,
Kazuyoshi

--
Kazuyoshi Furutaka
furutaka_at_jb3.so-net.ne.jp
Received on Tue Feb 27 2007 - 18:11:44 CET

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