MAIL COPY — MicroVMS 4.5B
Copies a message to another folder without deleting it from the
current folder. If the specified folder does not exist, it is
created.
If you want to copy a message to a sequential file (outside of MAIL)
instead of to a mail file, use the EXTRACT command.
If you enter the COPY command, supply a folder-name, and then decide
that you do not want to copy the message, enter CTRL/Z. CTRL/Z will
abort the operation and keep you within MAIL.
Format:
COPY folder-name [file-name]
Additional information available:
Parameters
folder-name Indicates the name of the folder to which the message is copied. If the specified folder does not exist, it is created. A folder name can be 1 to 39 characters in length. file-name Indicates the name of the mail file to which the message is copied. If the specified mail file does not exist, it is created. If a file name is omitted, the message is copied to the specified folder in the current file.
Qualifiers
Additional information available:
/ALL
/ALL Indicates that all the currently selected messages are to be copied to another message folder. You select a folder by entering the SELECT command followed by the name of the folder. (See the SELECT command for more information.) If the /ALL qualifier is omitted, only the current message is copied.
/CONFIRM
/[NO]CONFIRM Determines whether you will be queried about creating a new folder. The default is /CONFIRM.
Examples
1.
MAIL> 2
MAIL> COPY
_Folder: MEMOS
_File: <RET>
MAIL>
This example shows how to put a copy of a mail message into another
folder (MEMOS) in the default mail file.