Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!ll-xn!ames!sunybcs!bingvaxu!leah!emb978 From: emb978@leah.Albany.Edu ( Eric M. Boehm) Newsgroups: comp.sys.ibm.pc Subject: Re: Environment Size Summary: Setting the Environment Size in Child Processes Message-ID: <557@leah.Albany.Edu> Date: 8 Jan 88 19:14:45 GMT References: <6770@ihlpa.ATT.COM> Organization: The University at Albany, Computer Services Center Lines: 16 I forgot to mention that the same switches (/e: and /p) can also be applied to child processes (secondary, tertiary, etc. command.com's) that you invoke. According to the manual, environment size can be up to 32768 bytes although I have not personally verified this and have had a contradictory report. In any event, typing command /e:1000 would reserve 1000 bytes of environment space for the child process. One word of warning, if you use the /p switch, the system will go through bootup procedure (read config.sys and command.com) and you will not be able to get back to the original command.com (since there is now a new processor to process the exit command). In relation to the original question (that I did misunderstand), I have a program that will tell you how much environment space is currently in use but I don't think that will really help. If you want it, just e-mail me a request.