Core Function DirCopy
From Sputnik Wiki
DirCopy ( <sourcepath>, <destpath> )
Contents |
Description
Copies a directory and all sub-directories and files (Similar to xcopy).
Parameters
sourcepath
The path to copy.
destpath
The path to copy to.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
If the destination directory structure doesn't exist, it will be created (if possible).
Example
DirCopy("c:\\Myfolder", "C:\\Test");