copyFile()

Function that copies a file to the target file path, replacing it if it already exists.

copyFile(source, target)

Copies a file to the target file path, replacing it if it already exists.

source

String that specifies source file path and name.

target

String that specifies target file path and name.

target

String that specifies destination path and file name.

Example

In this script, the file test.txt included in c:\Content, will be copied into the c:\out folder.

copyFile("c:\Content\test.txt","c:\out\")
 
  • Last Topic Update: 24/01/2017 09:32
  • Last Published: 7/6/2017 : 9:48 AM