copyFile()

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

copyFile(source, target)

source

String that specifies the source file path and name.

target

String that specifies the target file path and name.

Example

This script copies the file test.txt from c:\Content into the c:\out folder.

copyFile("c:\Content\test.txt","c:\out\")
 
  • Last Topic Update: 27, June, 2017 06:10 AM
  • Last Published: 23, May, 2019 01:55 PM