PMDF User's Guide
OpenVMS Edition


Previous Contents Index


SET & SHOW FILE

Open the specified mail file.

Syntax

SET FILE mail-file-spec

SHOW FILE

Command Qualifiers Defaults
None. None.

Parameters

mail-file-spec

Required parameter specifying the mail file to open.

Description

The SET FILE command opens the specified mail file, closing any currently open mail file if necessary. Your default mail file is MAIL.MAI . Use the SET FILE command to open other mail files created with the COPY , FILE , or MOVE commands.

You may use the SHOW FILE command to determine which mail file, if any, is currently open.

Note that if you are not in your default mail file when you issue any of the commands DIRECTORY/NEW , READ/NEW , or SELECT/NEW then the current mail file will be closed and your default mail file opened.


Examples

In this example, all of the messages from the JOKES folder are moved to the folder JOKES in the new mail file JOKES.MAI . The SET FILE command is then used to close the current mail file and open JOKES.MAI .


EMAIL> SET FOLDER JOKES
EMAIL> MOVE/ALL JOKES JOKES.MAI
File D1:[BOB]JOKES.MAI; does not exist. 
Do you want to create it (Y/N, default is N)? Y
EMAIL> SET FILE JOKES.MAI


Previous Next Contents Index