Xref: utzoo comp.sys.ibm.pc:24221 comp.binaries.ibm.pc.d:1815 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!peregrine!ccicpg!cci632!rit!ritcsh!dani From: dani@ritcsh.UUCP (Dani Kadoch) Newsgroups: comp.sys.ibm.pc,comp.binaries.ibm.pc.d Subject: Re: Environment Space Keywords: setenv environment Message-ID: <1809@ritcsh.UUCP> Date: 3 Feb 89 19:16:45 GMT References: <1134@khoo.sdl.UUCP> <87891@sun.uucp> Reply-To: dani@ritcsh.UUCP (Dani Kadoch) Distribution: usa Organization: Computer Science House @ RIT - Rochester, NY Lines: 23 In article <87891@sun.uucp> alanf%smile@Sun.COM (Alan Fargusson @ peace with the world) writes: >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. > >I hate to say RTFM, but the answer is in there. Setenv.exe is for 2.x systems. >For 3.x systems there is a line to add to config.sys. I don't remember >exactly what it is but it is something like SHELL=COMMAND.COM /P:XXXX >where XXXX is the size in paragraphs of the environment. /P is probably wrong Yup, /P is wrong, it should be /E, and XXXX specifies the number of BYTES, not paragraphs to reserve for the environment space. So if you need to reserve 500 bytes this is what you should have in your config.sys: SHELL=COMMAND.COM /E:500 Hope this helps! Dani. -- +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\+ > Dani Kadoch -- R&D director @ Computer Science House < > Rochester Institute of Technology < > UUCP:rochester!ritcv!ritcsh!dani MCIMail:dani BITNET:dnk8842@ritvax <