Obtain a directory listing of the available files.
DIRECTORY [file-spec]
file-spec
Optional file name specification indicating which files to obtain a directory listing of. All OpenVMS file and directory wild cards are supported. A directory specification may be used; no device name or root directory specification is allowed.
The DIRECTORY command provides a directory listing of the available files. The listing is returned to you as a mail message.
The file-spec parameter is optional and, if omitted, defaults to "*". If you are unsure of what to use, omit the parameter and send simply the command
DIRECTORYThis will provide you with a list of the files and directories in the top-level directory of the mail server. You can then this information to refine your queries; e.g., investigate the contents of an intriguing directory,DIRECTORY [GAMES...]
%MAILSERV-W-NOFILES, no files found
The supplied file specification does not match any available files.
%MAILSERV-F-NOFILESERV, file service is not enabled
The mail server is not configured to operate as a file server.
%MAILSERV-W-WRITEERR, file writing error
An error occurred while the server was producing your directory listing. Try resending the command at a later time.