Skip to content

file.copy

The file.copy command can be used to copy a file.

Syntax

file.copy
{
    source <Source file>
    dest <Target file>
    [err.ignore]
}

Example

Function ScriptBeforeEdit
{
    // copy file
    file.copy
    {
        source $vdog::myrundir\Test.bat
        dest $def::var1\Test.bat
    }
}