<- Back to POP3it Pro function list
POP3it_File_Move
- Description
You can use this function to move a file to a new location.
- Return Type
- Text
- Format
- POP3it_File_Move ( Source ; Destination )
- Required Parameters
- Source
The Path and File Name of the File you want to Move.
- Destination
The Path to the Folder where you want the File. (You can optionally specify a File Name to Rename the File.)
- Source
- Related Items
- POP3it_File_Copy, POP3it_File_Delete, POP3it_File_Exists, POP3it_File_Export, POP3it_File_Import, POP3it_File_Rename, POP3it_File_SelectFileWithDialog, POP3it_File_Size
- Examples
Example 1
Code:
POP3it_File_Move("/source/move.txt";"/destination/")Result:
Moves the file "move.txt" from the "source" folder to the "destination" folder on Mac.Example 2
Code:
POP3it_File_Move("c:\source\move.txt";"c:\destination\ ")Result:
Moves the file "move.txt" from the "source" folder to the "destination" folder on Windows.Example 3
Code:
POP3it_File_Move("c:\source\move.txt";"c:\destination\moved.txt")Result:
Moves the file "move.txt" from the "source" folder to the "destination" folder and renames the file "moved.txt" on Windows.Example 4
Code:
POP3it_File_Move("/source/move.txt";"/destination/moved.txt")Result:
Moves the file "move.txt" from the "source" folder to the "destination" folder and renames the file "moved.txt" on Mac.