Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucsd!ucbvax!CSVAX.LIV.AC.UK!SQKEITH From: SQKEITH@CSVAX.LIV.AC.UK Newsgroups: comp.os.vms Subject: Re: getting current dir in prompt Message-ID: <8802090539.AA14695@ucbvax.Berkeley.EDU> Date: 28 Jan 88 09:50:14 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 11 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 -------