More Foreign Commands
The DCL$PATH Logical Name (V6.2 +)
Behaves similar to the DOS or UN*X “path”:
.COM and .EXE files can be sought by way
of DCL$PATH
$ DEFINE DCL$PATH MYDISK:[MYDIR.PROGS]
DCL$PATH can even be a search list:
$ DEFINE DCL$PATH -
MYDISK:[MYDIR.COM],MYDISK:[MYDIR.EXE]
Notes:
Another way to find “foreign” or external commands is to use the DCL$PATH logical name. DCL$PATH was introduced in OpenVMS V6.2.
DCL$PATH behaves very much like the DOS or UN*X “path” - .COM and .EXE files can be located via the DCL$PATH path.
DCL$PATH can have a single translation or it can be a search list.