Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU SET(DEFAULT_DIRECTORY) — VMS 5.5

 SET(DEFAULT_DIRECTORY)

    Determines the directory that will be used as the default.

 Syntax

    [old_default_string :=] SET (DEFAULT_DIRECTORY, new_default_string)

 Parameters

    DEFAULT_DIRECTORY    A keyword indicating that the SET built-in is
                         being used to control which directory is used as
                         the default.

    new_default_string   A quoted string naming the directory to which you
                         want the default changed.

    old_default_string   Optionally, the string naming the old default
                         directory.

 Comments

    Note that when the user exits from VAXTPU, the default directory is not
    restored to the default that was set when the user invoked VAXTPU.
    Note, too, that if you issue the EVE command DCL SHOW DEFAULT, the
    default shown is not always the new default directory, even though the
    setting has actually been changed.  To update DCL's tracking of the
    current default directory, you can use the EVE command DCL SET DEFAULT.

 Example

    prev_dir := SET (DEFAULT_DIRECTORY, "DISK1:[WALSH.PINK]");

    This statement sets the default directory to [WALSH.PINK] on the device
    DISK1.  The variable "prev_dir" contains the string naming the previous
    default directory.

 Related Topics

    GET_INFO(SYSTEM)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026