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

Move


Platform Objects


Description

This function moves a file from one location to another.

Syntax


target.file.Move(from, to, hint)

from (input) - the source of the file
to (input) - the desired destination
hint (input)

Return value


This function doesn't return a value

Sample

'---------- Start ----------
Function Start
target.file.Move "C:\FileTestFolder\trgFileSample.txt", "C:\FileTestFolder2\trgFileSample.txt" 

End Function

See also


Platform Objects and Methods
target.file.IsTextPDF
target.file.Read
target.file