Moves a file, an optional callback function can be passed which receives status while the move operation is in progress.

MoveFileEx(cSourceFile, cDestinationFile [, cCallback])

Parameters

cSourceFile

Fully qualified path of the file to move.

cDestinationFile

Fully qualified path of the destination for the move operation.

cCallback (optional)

The function to callback with progress information during the move operation.
The function should have the following prototype:

FUNCTION MoveCallback(nBytesCopied, nFileSize, nPercentCopied)
ENDFUNC

Return Value

.T. if the file was moved to the new destination, .F. otherwise.

See Also

Reference

ADirectoryInfo
ADirEx
ADriveInfo
AFileAttributes
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetFileTimes
GetLongPathName
GetShortPathName
SetFileAttributes
SetFileTimes

Used WinApi functions

MoveFile
GetVolumePathName
PathIsSameRoot