Re: Deleting file on disk

From: Vassili Maroussov <vmarusov_at_fnal.gov>
Date: Tue, 07 Feb 2006 12:29:44 +0100


Thank you Axel and Bertrand,

I was confused by the fact that in
http://root.cern.ch/root/html/src/TSystem.cxx.html#TSystem:Unlink it is shown the Unlink method is abstract and always returns -1; I didn't try it, but actually it works.

Cheers,

Vassili.

Bertrand Bellenot wrote:

>Hi Vassili,
>
>See gSystem->Unlink(filename);
>
>Cheers,
>Bertrand.
>
>-----Original Message-----
>From: owner-roottalk_at_pcroot.cern.ch
>[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Vassili Maroussov
>Sent: Tuesday, February 07, 2006 11:34 AM
>To: roottalk_at_pcroot.cern.ch
>Subject: [ROOT] Deleting file on disk
>
>Dear ROOTers,
>
>I'm wondering whether there is a way to remove a file/directory on disk
>except thought the TSystem::Exec() method.
>
>Vassili.
>
>
>
Received on Tue Feb 07 2006 - 12:41:27 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET