copying a directory

jicman cabrera_ at _wrc.xerox.com
Mon May 21 16:53:01 PDT 2007


== Quote from Regan Heath's article
> This is a multi-part message in MIME format
> ------------15658639521179527726
> Content-Type: text/plain
> jicman Wrote:
> >
> > Greetings.
> >
> > Is there a command for std.file to copy a directory?  I know that I can use
> > mkdir and then copy all the files in there, but is there any place a copyDir
> > command?
> jicman - In case you're using phobos (and not tango) here is a copyDir using
phobos std.file functions.
> Walter - please feel free to include these functions in std.file in this form or
modified to suit the phobos style.  Is there an official place to submit new code
for phobos?
> This code is public domain.  I cannot guarantee this code has been fully tested.

Thank Reagan.


More information about the Digitalmars-d-learn mailing list