Coping files and folders

Jacob Carlborg doob at me.com
Wed Jan 23 23:41:22 PST 2013


On 2013-01-24 07:28, Joel wrote:
> How does one copy folders (with files in them) including sub folders,
> and creating any needed folders?
>
> Like:
> land\house\cat.d
> land\house\rat.exe
> land\house\bedroom\ants.txt
>
> to
> root\island\house\cat.d
> root\island\house\rat.exe
> root\island\house\bedroom\ants.txt
>
> One work around is to use 'system' (under std.process).

I don't think Phobos currently has any functions for this. Someone 
posted code in these newsgroups of a parallel implementation of copy and 
remove.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list