<dircopy> Copies directory including all subdirectories.


Command Tree:   Directory  \  Copy
.
Syntax:   <dircopy>("SourceDir", "DestDir", Reserved, Reserved)
.
SourceDir
Full path to the source directory (e.g., "c:\mydocuments").
DestDir
Full path to the destination directory (e.g., "c:\backup").
Reserved
Must be 0.
Reserved
Must be 0.
.
Example:   <#> This macro copies directory you select to other directory you select.
<#>
<commands_only_on>

<msg>(100,100,"Select the directory you want to copy.","Message",0)
<varchng>("vDirSource","SD","")
<msgoff>

<msg>(100,100,"Select the destination directory .","Message",0)
<varchng>("vDirDest","SD","")
<msgoff>

<msg>(100,100,"Directory copy is in progress. Please wait....","Message",0)
<dircopy>("vDirSource","vDirDest",0,0)
<msgoff>