Path: utzoo!attcan!uunet!ccicpg!felix!dhw68k!phil From: phil@dhw68k.cts.com (Phil Suematsu) Newsgroups: comp.sys.ibm.pc Subject: Re: Another twist on DOS environment sizes. Summary: DESQview uses the default environment size Keywords: DESQview DOS environment Message-ID: <8749@dhw68k.cts.com> Date: 9 Jun 88 14:56:31 GMT References: <629@fxgrp.UUCP> <4598@dasys1.UUCP> <835@acornrc.UUCP> <14488@mirror.TMC.COM> Reply-To: phil@dhw68k.cts.com (Phil Suematsu) Organization: Wolfskill residence; Anaheim, CA (USA) Lines: 44 In article <14488@mirror.TMC.COM> jvc@prism.TMC.COM (Jim Champeaux) writes: >In article <835@acornrc.UUCP> bob@acornrc.UUCP (Bob Weissman) writes: >>This is a patch to increase the default environment size for the >>version of COMMAND.COM which comes with MSDOS 3.30. >> >> [deleted instructions on how to patch] > >I must be missing something. Why patch command.com when you can use >the config.sys file to specify an environment size larger than the >default (versions 3.xx and up, maybe not 3.0)? >[...] >Puzzled, >jvc@mirror.tmc.com I have to patch COMMAND.COM for a larger environment because when DESQview creates a DOS window, it fools COMMAND.COM into thinking that there were no previous environments. In other words, DESQview does not allow the DOS window to inherit any enviroment variables from your previous DOS environment; nor does it create an environment with the same size as your previous environment -- it creates an empty environment with the insufficient default size hardcoded in COMMAND.COM. The solution is to patch COMMAND.COM for a larger default size and for the 'Program...:' parameter in the DOS window 'Change a Program' screen, specify a batch file that SETs up your environment variables. Without this patch, I would not be able to run programs, that require many environment variables, within a DOS window, such as, Brief and uupc. Oh, I guess I could create *another* command shell within the DOS window using the '/E' parameter, but this consumes 6k of precious RAM (RAM is precious when you begin to partition it within DESQview). By the way, can anyone, who has bought a 'Charge Card' memory board for use with DESQview, tell us if it works as advertised? Phil -- ---------------+------------------------------------------------------ Phil Suematsu | InterNet: phil@dhw68k.cts.com or phil@turnkey.tcc.com (714) 633-0876 | or uucp: ...{trwrb,hplabs}!felix!dhw68k!phil ---------------+------------------------------------------------------