Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!umd5!brl-adm!cmcl2!phri!dasys1!wfp From: wfp@dasys1.UUCP (William Phillips) Newsgroups: comp.sys.ibm.pc Subject: Re: Expanding Environment on a Z-158 (a follow-up) Message-ID: <5473@dasys1.UUCP> Date: 14 Jul 88 01:49:26 GMT References: <3705@ece-csc.UUCP> Reply-To: wfp@dasys1.UUCP (William Phillips) Organization: This Techie For Hire (tm) Lines: 32 In article <3705@ece-csc.UUCP> kwf@ece-csc.UUCP (Kenneth W. Fernald) writes: >I have received several suggestions, all of which recommend using >the /E:XXX option of the COMMAND.COM (using the SHELL= command). >Although I am grateful for those individual's interest and help, I failed >to mention in my original question that my Zenith version of MS-DOS 3.1 >doesn't appear to support the /E option. It is not documented, and when I >attempt to use it, no apparent change in environment size occurs. >Again, if anyone has any ideas, I'd be grateful for any addition help. It's not documented in PC-DOS 3.1 either, but it works. I had the same problem on a generic clone a couple of days ago. Pulled together a few vague recollections and found an article in Programmer's Journal that gave me half the answer. Scratched head, came up with the following, which works for me: on the last line of CONFIG.SYS, I put shell=c:\command.com /p/e:16 ...for DOS 3.1, the number after e: is the number of 16-byte "paragraphs" to allow for the environment (i.e., 256 bytes in my case). In later versions, for which the /e: option is documented, the number is the number of _bytes_ to allow. Hope this helps. -- William Phillips {allegra,philabs,cmcl2}!phri\ Big Electric Cat Public Unix {bellcore,cmcl2}!cucard!dasys1!wfp New York, NY, USA !!! JUST SAY "NO" TO OS/2 !!!