Library /sys$common/syshlp/mailhelp.hlb
SET-SHOW, FILE

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Establishes (or opens) another file as the current mail file. By
    default, your mail file is MAIL.MAI. Use the COPY command, the
    FILE command, or the MOVE command to create other mail files (for
    example, JOKES.MAI or HISTORY.MAI). You can then use the SET FILE
    command to open the mail files.

    When you enter the SET FILE command, the WASTEBASKET folder of
    the current mail file is emptied (if AUTO_PURGE is set), the file
    is closed, and the specified (alternate) file is opened.

    The SHOW FILE command displays the name of the mail file that is
    currently open.

    Format

      SET FILE  file-name

      SHOW FILE

  1 - Parameter

 file-name

    Indicates the name of the mail file you are opening.

  2 - Examples

    1.MAIL> SHOW FILE
      Your current mail file is DISK$:[ARAS]MAIL.MAI;2
      MAIL> 2
      MAIL> COPY
      _Folder: LIMERICKS
      _FILE: JOKES
      File DISK$:[ARAS]JOKES.MAI; does not exist.
      Do you want to create it (Y/N, default is N)? y
      %MAIL-S-CREATED, DISK$:[ARAS]JOKES.MAI;1 created

      MAIL> SET FILE JOKES
      MAIL> SHOW FILE
      Your current mail file is DISK$:[ARAS]JOKES.MAI

      This example demonstrates how to use the SHOW FILE command
      to display the name of the mail file that is currently open
      (MAIL.MAI). The COPY command creates a new folder (LIMERICKS)
      and a new mail file (JOKES) and copies message 2. The SET FILE
      command opens the mail file named JOKES.MAI that you just
      created. Note that you must be reading a message to copy it
      or you get the following message:

        %MAIL-E-NOTREADIN, you aren't reading a message.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.