Move Item [ Result ; From ; To ]
Move Item moves a file or folder to a new location.
Parameter | Description |
---|---|
Result | An optional target field to receive any error. Will be left empty when there is no error. |
From | The path to the folder or file to be copied. |
To | A path to a folder. The source item will be copied to that folder using its source name. |
The From and To parameters must be on the same volume.
Unlike Copy Item, Move Item will not replace an existing item with the same name in the destination folder.
Examples
To move a file named “Tree Houses.doc” from the desktop to the root folder while storing any potential error into MyTable::Response:
Move Item [ Select; Result: MyTable::Response ; From: “.D/Tree Houses.doc” ; To: “.R” ]
To move a file named “logo_thumb.jpg” from the default folder to a folder named “Images” on the desktop:
Move Item [ Select; Result: MyTable::Response ; From: “logo_thumb.jpg” ; To: “.D/Images” ]