Xref: utzoo comp.sys.ibm.pc:24063 comp.binaries.ibm.pc.d:1791 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bbn!humming!simcha From: simcha@humming.UUCP (Simcha Lerner) Newsgroups: comp.sys.ibm.pc,comp.binaries.ibm.pc.d Subject: Re: Environment Space Keywords: setenv environment Message-ID: <261@humming.UUCP> Date: 2 Feb 89 01:11:12 GMT References: <1134@khoo.sdl.UUCP> Reply-To: simcha@humming.UUCP (Simcha Lerner) Organization: Kurzweil A.I. Waltham, Mass. Lines: 30 To expand your environment, in your config.sys put an explicit shell declaration line as follows: shell=c:\command.com c:\ /p /e:nn where nn is the environment size. In 3.1 the /e option is an undocumented feature, and nn is set in paragraphs (number of bytes/16). In 3.2 and later, the /e option is documented, but nn is set in bytes, not paragraphs. the max. environment is 32KB, the min is 128B, and the default is 620B. For more information, look at the commands section of your dos manual for the command called "command". Also look in the section on config.sys for info on shell. [BTW: In the "old" days, various programs were around that would patch command.com to create a larger environment. The problem is that these programs were HIGHLY version specific, and could corrupt the command.com of another release of dos.] simcha lerner harvard!humming!simcha