Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!im4u!ut-sally!utah-cs!GU.MORRIS@SCIENCE From: gu.morris@SCIENCE (Richard D. Morris) Newsgroups: comp.sys.ibm.pc Subject: Re: Display Paint pictures from a program? Message-ID: <12341120864.28.GU.MORRIS@SCIENCE.UTAH.EDU> Date: Fri, 9-Oct-87 11:21:37 EDT Article-I.D.: SCIENCE.12341120864.28.GU.MORRIS Posted: Fri Oct 9 11:21:37 1987 Date-Received: Sun, 11-Oct-87 14:45:02 EDT Lines: 16 In-Reply-To: <200@eagle_snax.UUCP> X-Us-Mail: "Center for Scientific Computation, South Physics, University of Utah, Salt Lake City, UT 84112" X-Telephone: (801) 581-5254 The easiest way I know of to increase or decrease the environment size is by patching COMMAND.COM. Microsoft currently offers a utility to do this which is included with their C compiler development system, and I also would surmise other language development products. The utility is called SETENV.EXE. It takes as parameters the command.com to be patched as well as the new environment size in bytes. The environment size is stored as a byte which is the number of paragraphs to be allocated. I patched the PC-DOS 3.1 COMMAND.COM that I am using and found that the byte that is changed is at offset "0xc11". I would make no assumptions as to whether or not this is the location with any other version of DOS. Hope this is of some help to you. -------