MAIL MOVE — VMS 5.1-B
Moves the current message to the specified folder. You can use the
MOVE command and the FILE command interchangeably because they work
the same way.
If you enter the MOVE command, supply a folder-name, and then decide
that you do not want to move the message, enter CTRL/Z. CTRL/Z
aborts the operation and keeps you within MAIL.
Format:
MOVE folder-name [file-name]
Additional information available:
Parameters
folder-name Indicates the name of the folder to which the current message will be moved. If the specified folder does not exist, it is created. You can use any alphanumeric string (1 to 39 characters long) for a folder name. file-name Indicates the name of the file to which the current message is moved. If the specified file does not exist, it is created. If the file name is omitted, the message is moved to the specified folder in the current file.
Qualifiers
Additional information available:
/ALL
/ALL Moves all the messages in the current folder to the specified folder.
/CONFIRM
/[NO]CONFIRM Determines whether you are queried about creating a new folder. The default is /CONFIRM.
Examples
1.
MAIL> 2
MAIL> MOVE
_Folder: WINNERS
_File: <RET>
Folder WINNERS does not exist.
Do you want to create it (Y/N)? y
%MAIL-I-NEWFOLDER, folder WINNERS created
MAIL> SELECT WINNERS
%MAIL-I-SELECTED, 1 message selected
MAIL> DIRECTORY
WINNERS
# From Date Subject
1 BURK 18-APR-1988 Early American Art
MAIL>
This example shows how to MOVE a message to a new folder named
WINNERS and use the SELECT command to move to the newly created
folder.
2.
MAIL> 5
MAIL> MOVE
_Folder: TENNIS
_File: SPORTS
Folder TENNIS does not exist.
Do you want to create it (Y/N, default is N)? Y
%MAIL-S-CREATED, DISK$AAAA:[MCFEE]SPORTS.MAI;1
%MAIL-I-NEWFOLDER, folder TENNIS created
This example shows how to MOVE a message to a new folder named
TENNIS in a new file named SPORTS.