🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.apps
Article #2870

Re: need utility to alias paths

#2870
From: Eric Thav
Date: Mon, 10 Jun 1991 06:12
23 lines
1584 bytes
In article <1991Jun6.134652.10820@intvax2.cs.sandia.gov> drstrip@intvax2.cs.sandia.gov (David R. Strip) writes:
>I have some less than robust software that assumes my directory
>structure looks a certain way, which is doesn't. I need a 
>utility like SUBST or ASSIGN, but that works for paths. eg,
>I would like to be able to say
>foo textfms -> /tex/tfms/pktfm
> and have the effect that when this stupid program tries to
> get textfms/cmr10.tfm the os will actually look for 
> /tex/tfms/pktfm/cmr10.tfm

A roundabout way of doing this would be to use the 4DOS alternate command
processor instead of using COMMAND.COM.  With 4DOS, environment variables
are active almost anywhere you can imagine.  So, you can define the variable
of "textfms" to be equal to "\tex\tfms\pktfm" and if you say "dir %textfms"
it will give you a directory listing of \tex\tfms\pktfm.
 


-- 
.signature not found, format hard disk instead? (Y/N)_
Eric L. Thav                Florida Atlantic University - Boca Raton, FL
INTERNET: eric@acc.fau.edu      GEnie: E.THAV   | PRODIGY: Lots of ads
  BITNET: eric@fauvax         PRODIGY: NMVG80A  | and we read your mail!   
Technical Details
Message-ID: <1991Jun10.061203.19759@cs.fau.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!caen!uflorida!shark!eric
References: <1991Jun6.134652.10820@intvax2.cs.sandia.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!caen!uflorida!shark!eric
From: eric@cs.fau.edu (Eric Thav)
Newsgroups: comp.os.msdos.apps
Subject: Re: need utility to alias paths
Message-ID: <1991Jun10.061203.19759@cs.fau.edu>
Date: 10 Jun 91 06:12:03 GMT
References: <1991Jun6.134652.10820@intvax2.cs.sandia.gov>
Organization: Florida Atlantic University, Boca Raton
Lines: 23