[comp.os.msdos.misc] DOS Paths

offline@infopls.chi.il.us (Jeff Gostin) (02/12/91)

jdb@reef.cis.ufl.edu writes:
>My path exceeds  the legal limit allowed for DOS...Any pointers?
I have one, or a few at least. What I did to get past this is make a 
bunch of batch files for all my utils that werent AUTOEXEC'd, or TSRs,
and I put the batch file directory on my path, so that when I type
T, for example, Telix pops up. The batch file looks like this:
@echo off
cls
c:
cd\telix
telix
And that loads up telix (I also have lines to shut off my screen saver, 
which mucks up transfers). Thats all there is to it!:) And you can make 
as many batch files as you want, without having to large amounts of
environments space dedicated to a 65 character path. My apth is still 
huge, but it makes no difference... I use the batch files for everything.
Hope this helps!
   Jeff Gostin (jgostin@timeless.UUCP|offline@infopls.chi.il.us)

millians@athena.cs.uga.edu (David W. Millians) (02/13/91)

Although I cannot verify the effectiveness of this maneuver (i'm not on
my pc with this modification) I think one way to get longer path 
statements, if you must, is to assign chunks to dos memory variables, and
then to call those variables in the path statement. This is if I recall
correctly how a jury-rigged (or so it seems) cad add-in does it for me.
It wasn't my idea, but that's how they did it, I think. And you don't have
to expand the environment size. 
Still, the other methods would probably be better and safer in the long 
run; I personally have all my utes in one sub directory. It's a mess,
but that's only one call. Good luck, and I'll check to see if the specifics
of this are actually different.


-- 
David W. Millians    millians@athena.cs.uga.edu
University of Georgia, Athens GA USA.
"What exactly is UNIX, Mr. IFF?" "It is a P2C2E, thief Haroun, on a M2C2D."
(Apologies to Salman Rushdie)  I guess all opinions are mine and only mine.