[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

422.0. "Question about SET DEFAULT algorithm" by SWAMI::LAMIA (Cheap, fast, good -- pick two) Sat Mar 07 1987 18:49

    I'm working on a program to change a user's default directory, and
    I am a little confused about how SET DEFAULT works in the most general
    cases.  It looks like it changes the definition of logical name
    SYS$DISK in some cases, and uses sys$setddir in others, and sometimes
    both.  Does anyone know the exact algorithm SET DEFAULT uses?
    
    Walt
T.RTitleUserPersonal
Name
DateLines
422.1MONSTR::DUTKONestor Dutko, VMS/VAXclusters CSSESat Mar 07 1987 21:196
    If the device specification is being chaned, ie the disk, or usage
    of a concealed device such as a rroted directory, the logical SYS$DISK
    is redefined.
    
    SHould you be changing the directory specification, $SETDDIR is
    used.