@DirCopy

Parent Previous Next

@DirCopy.

Copies the directory to a new destination. Returns true if it succeeds. Otherwise returns false.

Syntax.


 @DirCopy(String sourcePath, targetPath) : Boolean

 


A copy operation makes an implicit recursive copy of any directories or files within. Existing content may be silently overwritten.


Arguments:


Example:


 String dirA := "c:\test\DirA";

 String dirB := "c:\test\DirB";

 Boolean success := @DirCopy(dirA, dirB);