Path: utzoo!attcan!uunet!cs.utexas.edu!know!sdd.hp.com!hplabs!pyramid!mikel From: mikel@pyrps5.pyramid.com (Mike Lipsie) Newsgroups: comp.windows.ms Subject: Re: Environment space for DOS appl. under Windows Message-ID: <131605@pyramid.pyramid.com> Date: 24 Oct 90 15:47:31 GMT Sender: daemon@pyramid.pyramid.com Reply-To: mikel@pyrps5.pyramid.com (Mike Lipsie) Organization: Pyramid Technology Corp., Mountain View, CA Lines: 27 In article <1990Oct24.032517.21201@eecs.wsu.edu> ckinsman@yoda.UUCP (Chris Kinsman - EE major) writes: >In article <433.2721eb3c@ae.chalmers.se> hogstedt@ae.chalmers.se (PER HOGSTEDT) writes: >> >> When running DOS applications from Windows I get too little environment >>space for my application. Windows allocates 224 bytes in standard mode (I >>think). >>How can I tell Windows to allocate more environment for my DOS application? >>Yes - I have tried TFM as well as all *.TXT files I can find without >>any success. >> >I don't know if this is bright but it works. do a SET DUMMY1=111111111111111 >(256 characters) This will give you an additional 256 bytes or so of >environment space. Run your program from a batch that does a SET DUMMY1= >before running your program. Well ... That might work but I wouldn't count on it. When Windows "launches" a program it starts another copy of COMMAND.COM. Just edit the associated .PIF (or create it if there is none) to have an environment space that is big enough. For example, /e:512 /p would give you 512 bytes of environment (minus whatever is already defined). ----------- Mike Lipsie mikel@pyramid.com Pyramid Technology Corp, Mountain View, CA +1 415 335 8657 "Toto kansasoseum non est cognito" -- Phil Frank