[comp.os.vms] getting current dir in prompt

SQKEITH@CSVAX.LIV.AC.UK (01/28/88)

The following fragment of DCL code is sufficient to set the prompt to the
current directory:


$ DIRSTR=f$DIRECTORY() - "[" - "]"  ! removes the brackets from the spec
$ SET PROMPT="''DIRSTR'"

Keith Halewood


-------