home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!e2big.mko.dec.com!nntpd.lkg.dec.com!star.enet.dec.com!critz
- From: critz@star.enet.dec.com (Richard Critz)
- Subject: Re: Detecting directory of invoked .com
- Message-ID: <1992Dec23.163434.635@nntpd.lkg.dec.com>
- Lines: 17
- Sender: usenet@nntpd.lkg.dec.com (USENET News System)
- Reply-To: critz@star.enet.dec.com (Richard Critz)
- Organization: Digital Equipment Corporation, Nashua, NH
- References: <1992Dec23.160636.27010@tigger.jvnc.net>
- Date: Wed, 23 Dec 1992 16:34:34 GMT
-
-
- In article <1992Dec23.160636.27010@tigger.jvnc.net> you write:
- |>
- |>In a DCL program, I would like to be able to determine what directory the
- |>invoked .com file is located in. I seem to remember a similar thread about
- |>6 - 8 months ago, so I hope someone remembers the solution.
- |>
-
- f$parse(f$environment("procedure"),,,"directory","syntax_only")
-
- should work nicely.
-
- --
- -----------------------------------------------------------------------------
- Richard Critz critz@star.enet.dec.com
- -- I speak only for myself; I make no commitments for Digital. --
- -----------------------------------------------------------------------------
-