Path: 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 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: 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