KB-126741: dir.copy

dir.copy

The command dir.copy can be used to copy directories. The source path (directory that you want to copy) and target directory (location to which you wish to copy the directory) are entered with arguments.

Syntax:

dir.copy
{
source `<Path to source>`
dest `<Path to target>`
[spec `<Filefilter>`]
[subdir `<Y|N>`]
[err.ignore]
}

Example

Function ScriptBeforeUpload
{
$def::var1 = \$vdog::uploadjob->5002c$ProgramsDevice123
$def::var2 = \$vdog::uploadjob->5002c$Programs (x86)Device123
dir.copy
{
source $def::var1Daten dest $vdog::specific->dirbackupDaten err.ignore
}
dir.copy
{
source $def::var2Daten dest $vdog::specific->dirbackupDaten err.ignore
}
}

Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center