Hi Andreas, TSystem::CopyFile() is now available and provides a machine independent way of copying files. Thanks for the suggestion. Cheers, Fons. On Sat, 2003-02-22 at 16:00, Andreas Zoglauer wrote: > Hello, > > This is only a question about the design of the TSystem class: > > TSystem contains methods to create directories, rename files etc. > Why does it not contain a function for copying files? > I know I can write some simple function by hand or do this with > gSystem->Exec("cp A B"); but this is not OS independent. > > I am not sure what the intention was when designing the class TSystem, > but in my opinion a copy function is missing. > > Andreas -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET