Move File

Moves a file to another path. The file may also be optionally overwritten.

Privileges

Normal

Input Parameters

Name Type Required Description
File String Yes The full path of the file to be moved.
Destination String Yes The destination path of the file to be moved.
Overwrite Boolean No Optional to overwrite the file if it already exists in the destination path.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
File String Yes C:\folder1\file1.txt or C:\folder1\file*.txt
Destination String Yes C:\folder2
Overwrite Boolean No Optional to overwrite the file if it already exists in the destination path.