Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

path question

Status
Not open for further replies.

RandyRiegel

Programmer
Sep 29, 2003
256
US
I'm a newbie at VMS so forgive me if I'm overlooking something obvious. Is there anything equivilent to the PATH variable in other OS's?

Thanks,
Randy
 
Randy,

Yes, its possible. In VMS you can set up a logical name with multiple translations.

For Example:

$ Define PATH disk1:[foo],disk2:[bar],disk3:[foo.bar]

It you were to execute the command;

$ Run PATH:FOOBAR.EXE

VMS would search in "disk1:[foo]" then "disk2:[bar]" and finally "disk3:[foo.bar]" for "FOOBAR.EXE".

It would also work with data files:

$ Open FILE PATH:FOOBAR.DAT

Look at "$ HELP DEFINE Example" for further assistance.

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top