| Name | CNSImage_File_Move |
|---|
| Description | Moves a file to a new location and/or a new name.
|
|---|
| Return Type | Text |
|---|
| Format | CNSImage_File_Move ( Source ; Destination ) |
|---|
| Required Parameters | Source The path and file name of the file you want to move.
DestinationThe path to the folder where you want the file. [You can optionally specify a file name to rename the file.]
|
|---|
| Examples | - Example 1
Moves the file "move.txt" from the "source" folder to the "destination" folder on Mac. CNSImage_File_Move( "/source/move.txt" ; "/destination/" )
- Example 2
Moves the file "move.txt" from the "source" folder to the "destination" folder on Windows. CNSImage_File_Move( "c:\source\move.txt" ; "c:\destination\ " )
- Example 3
Moves the file "move.txt" from the "source" folder to the "destination" folder and renames the file "moved.txt" on Windows. CNSImage_File_Move( "c:\source\move.txt" ; "c:\destination\moved.txt" )
- Example 4
Moves the file "move.txt" from the "source" folder to the "destination" folder and renames the file "moved.txt" on Mac. CNSImage_File_Move( "/source/move.txt" ; "/destination/moved.txt" )
|
|---|