From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  7-SEP-1989 12:19
To:	MRGATE::"ARISIA::EVERHART"
Subj:	Re:  batch job...

Message-Id:  <8909071611.AA10128@crdgw1.ge.com>
Received: From INDYVAX.IUPUI.EDU by CRVAX.SRI.COM with TCP; Thu,  7 SEP 89 07:25:15 PDT
Date: Thu, 7 Sep 89 09:26 EST
From: "Mark H. Wood" <IMHW400@INDYVAX.IUPUI.EDU>
Subject: Re:  batch job...
To: INFO-VAX@SRI.COM, CCIODE@FRFUPL11.BITNET
X-Vms-To: IN%"INFO-VAX@SRI.COM",IN%"CCIODE@FRFUPL11"

Yes, I also find it annoying that batch jobs always start out defaulted to
one's login directory instead of the directory holding the procedure (one of
the things that I still miss from my TOPS-20 days).  If you're running VMS V5.0
or better then you can do what I've done, by adding the following lines to your
LOGIN.COM in such a way that they are executed during batch logins:

$ COM_FILESPEC	= F$GETQUI("DISPLAY_FILE","FILE_SPECIFICATION",,"THIS_JOB")
$ DEFAULT_DIRECTORY = F$PARSE(COM_FILESPEC,,,"DEVICE") + -
	F$PARSE(COM_FILESPEC,,,"DIRECTORY")
$ SET DEFAULT 'DEFAULT_DIRECTORY'

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mark H. Wood    IMHW400@INDYVAX.BITNET   (317)274-0749 III U   U PPPP  U   U III
Indiana University - Purdue University at Indianapolis  I  U   U P   P U   U  I
799 West Michigan Street, ET 1023                       I  U   U PPPP  U   U  I
Indianapolis, IN  46202 USA                             I  U   U P     U   U  I
[@disclaimer@]                                         III  UUU  P      UUU  III

