Xref: utzoo comp.sys.ibm.pc:24014 comp.binaries.ibm.pc.d:1785 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!emb978 From: emb978@leah.Albany.Edu (Eric M. Boehm) Newsgroups: comp.sys.ibm.pc,comp.binaries.ibm.pc.d Subject: Re: Environment Space - Increasing environment space in MS-DOS 3.2 Summary: Increasing environment space in MS-DOS 3.2 Keywords: setenv environment Message-ID: <1513@leah.Albany.Edu> Date: 1 Feb 89 00:23:51 GMT References: <1134@khoo.sdl.UUCP> Distribution: usa Organization: The University at Albany, Computer Services Center Lines: 20 In article <1134@khoo.sdl.UUCP>, khoo@sdl.UUCP (Yong Khoo) writes: > Can anyone provide info on expanding environment space for COMMAND.COM. > My copy of setenv.exe that comes with Microsoft C 5.0 does not seem > to work with MSDOS 3.20. Just add the following line to CONFIG.SYS (make it the first line) SHELL=C:\COMMAND.COM C:\ /E:512 /P You can replace occurrences of C:\ with the correct path for COMMAND.COM (the first occurrence tells MS-DOS where to find COMMAND.COM the first time, the second tells it where to find COMMAND.COM when it needs to reload). The /E tells MS-DOS how many bytes to use for the environment (in bytes, to a maximum of 32,767, default is 128 bytes). The /P tells MS-DOS that this is the primary processor for the EXIT command. You also need this so that AUTOEXEC.BAT will execute. Eric M. Boehm EMB978@ALBNY1VX.BITNET EMB978@LEAH.ALBANY.EDU