The following code is a function that moves or copies files.

MoveFile (Source File, Destination File, Copy Flag, Alert Flag)

Source File is the full path name to the file being copied or moved.
Destination File is the full path name to the file being copied or moved to.
Copy Flag (Optional) - True = Copy File, False = Move File, Default = False
Alert Flag (Optional) - True = show alert messages and allow intervention, False = silent mode, Default = False.

MoveFile returns TRUE if the action is completed or FALSE if the action is not completed.

Please Login or Register  to view this content.