[comp.os.vms] DEFAULT DIRECTORIES - WRAPUP

graham@DRCVAX.ARPA (06/28/88)

A week or so ago I asked about finding out the default directory from 
within a program, and finding the current default directory of another 
porcess.  

My very hearty thanks to those who responded to me, I appreciate the time 
taken very much.

SYS$SETDDIR will return, as the third argument, the current default 
directory, simple enough.

The second question is rather harder.  I still haven't found where in P1 
space, if it is there at all, the current default directory of a process 
is.  I suppose I could write an AST to execute in the context of the other 
process and just get the results from the setddir, but that's messy...come 
to think of it, any answer to this will be messy, raised IPL, kernel mode 
and all, ugh!  If anybody has a routine to show the current directory of 
another process, I'd trade a pizza for a copy.

Dan Graham
graham@drcvax.arpa

Disclaimer:  The above was written by a random word selection generator in 
             senile mode.
------