SysFileMove (Windows only)

>>-SysFileMove(source, target)---------------------------------><

Moves a file from one location to another. Wildcard file specifications are not allowed.

Parameter:

source

The path/name of the file to be moved.

target

The path of the target location where the file is to be moved. The target must contain a path component.

Return codes:

0

File copied successfully.

2

A Windows error code.

Example:

/* Code */
call SysFileMove "c:\temp\myfile.txt", "d:\myfolder"