SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.file‎ > ‎

Copy


Platform Objects


Description

Calling target.file.Copy copies it from one folder to another.

Syntax


target.file.Copy(f_from, f_to)

f_from (input) - the source of the file
f_to (input) - the destination of the file

Return value


This function does not return a value.

Sample

'---------- Start ----------
Function Start

target.file.copy "C:\TargetFileExample\TargetFileExample.txt", "C:\TargetFileExample2\TargetFileExample.txt"

End Function

See also


Platform Objects and Methods
target.file.Delete
target.file