Copies a file from the source location to the destination location. The source and destination paths must be an absolute (C:\\MyFolder\\MyFile.txt) and all the folders in the entire directory tree of the destination path must exist (This function does not create destination directories.).
int32 CopyFile( string p_sSrc, string p_sDst )
|Parameter Type||Parameter Name||Documentation|
|string||p_sSrc||The absolute path to the source file.|
|string||p_sDst||The absolute path to the destination file. The entire directory tree must exist, although the file itself won't exist until the copy operation finishes. Depending on a variety of factors, the file may exist before the Scenome command macro containing this code completes.|
Copy Text To Clipboard
None published. Please look for an example in the Scenome Scripting Language code base.