🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3659

Re: Path cutoffs {Re: Environment size hack in DOS 5?}

#3659
From: fred j mccall 575-3539
Date: Fri, 13 Nov 1992 22:26
33 lines
2215 bytes
In <1992Nov13.191154.16202@ra.msstate.edu> jdz1@Ra.MsState.Edu (John D. Zitterkopf) writes:

>Hi,
>	I have a simuliar problem that might be releated to the previous
>question. The problem seems to be that When I install new programs on my 
>computer they automaticly add their paths to my path statement in the 
>Autoexec.BAT. Now after adding so many programs and paths to my path 
>statement, the path statement gets cutoff at a certain location 8-(.
>	I think that I have tried a /e or something simulair in my Shell
>statement to increase the size of ENV. table. But this seems to not
>correct the problem. Is there a way to correct this other than deleteing
>some of the old paths?

No.  There used to be a hack that let you go in with the Debug editor
and change this, but I only know of a version of that that worked for
a special OEM version of DOS (back around 2.x).  This is the one great
MESS I can't believe they didn't fix.  I believe that 4DOS will let
you specify how long you want your path to be.

What I've wound up doing is using SUBST to create 'logical drive
letters' that point to the root of things like all my Windows
applications, and then instead of having something like

	c:\windows\<app>\bin

in my path, I just put w:\<app>\bin.  It doesn't save much per entry,
but for me it works out to be enough.

-- 
"Insisting on perfect safety is for people who don't have the balls to live
 in the real world."   -- Mary Shafer, NASA Ames Dryden
------------------------------------------------------------------------------
Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
Technical Details
Message-ID: <1992Nov13.222633.21015@mksol.dseg.ti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!wupost!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
References: <1992Nov12.234502.22273@midway.uchicago.edu> <1992Nov13.191154.16202@ra.msstate.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!wupost!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
Subject: Re: Path cutoffs {Re: Environment size hack in DOS 5?}
Message-ID: <1992Nov13.222633.21015@mksol.dseg.ti.com>
Organization: Texas Instruments Inc
References: <1992Nov12.234502.22273@midway.uchicago.edu> <1992Nov13.191154.16202@ra.msstate.edu>
Date: Fri, 13 Nov 1992 22:26:33 GMT
Lines: 33