MOVE
Function
Moves a container or item to another location.
Syntax
MOVE CONTENTS source_objdesc target_objdesc -p
MOVE ITEM source_objdesc target_objdesc -p
Parameters
source_objdesc |
The source where the item is currently located. |
target_objdesc |
The new location. |
-p |
Moves the source object even if it is protected. Optional. |
Examples
After this command the Employee Lounge will no longer have a folder named Archived messages. To unprotect and move a folder named Archived Messages from Employee Lounge to Staff Area, enter:
MOVE ITEM "General Conferences:Employee Lounge:Archived Messages" "General Conferences:Staff Area" -p
To leave the folder in Employee Lounge, but move the all messages within Archived Messages to a subfolder named Archived Messages 2005, enter:
MOVE CONTENTS "General Conferences:Employee Lounge:Archived Messages" "General Conferences:Employee Lounge:Archived Messages:Archived Messages 2005" -p
To empty a container of all its contents, create a temporary folder, move the contents, then delete the temporary folder:
NEW "" "Temp" "" FOLDER 8 -1 -1
MOVE CONTENTS "General Conferences:Employee Lounge:Archived Messages" "Temp" -p
REMOVE "Temp"
|