🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1526

Re: How do I make my path bigger?

#1526
From: Steve Resnick
Date: Sat, 10 Mar 1990 16:51
19 lines
1194 bytes
In article <1941@v7fs1.UUCP> sv@v7fs1.UUCP (Steve Verity) writes:
>
>I want to have a path that is almost 150 characters long.  Unfortunately,
>DOS truncates the path I specify in my autoexec, if it gets too long.
>
>There must be a work around, no?
>

Yes! There is. The environment used by DOS is a function of the shell, COMMAND.COM
There is a switch for command.com /E:<n> where n specifies the environment size.
This can be up to 32767 bytes in length. To do this at boot up put the line
SHELL=C:\COMMAND.COM /E:1024 /P

The /P is needed to make the fisrt copy of command "permenant" and force it to
load autoexec.bat.  Since the default environment size is 128 bytes your path
exceeds that limit....


Steve
Technical Details
Message-ID: <1990Mar10.165143.20886@Octopus.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!apple!vsi1!octopus!stever
References: <1941@v7fs1.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!apple!vsi1!octopus!stever
From: stever@Octopus.COM (Steve Resnick )
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: How do I make my path bigger?
Message-ID: <1990Mar10.165143.20886@Octopus.COM>
Date: 10 Mar 90 16:51:43 GMT
References: <1941@v7fs1.UUCP>
Reply-To: stever@octopus.UUCP (Steve Resnick )
Organization: Octopus Enterprises, Cupertino CA
Lines: 20