Article View: comp.sys.ibm.pc.misc
Article #8405shrinking enviroment size
From: Brendan B. Boerner
Date: Sat, 16 Mar 1991 02:37
Date: Sat, 16 Mar 1991 02:37
20 lines
1240 bytes
1240 bytes
My configuration: HP Vectra QS/16S w/4MB HP DOS v3.30 Qualitas 386Max v5.1 I've found that when trying to run batch files from within/when shelled out from other programs (from the process buffer in Epsilon, in the Windows DOS box, shelling out from Turbo C++, etc...), I have very little enviroment room to add variables to. I should have enough room, I'm setting my enviroment size to 4K in config.sys (I bumped it up there I noticed this happening and haven't dropped back down. Doing a SET > TMP.TXT reports that TMP.TXT is less than 1K in size). I'm now guessing that either DOS will take the current size of the enviroment and use that for spawned programs, or the programs will limit the enviroment themselves. Does anyone know how I can get around this behavior? Thanks in advance, Brendan
Technical Details
Message-ID:
<45673@ut-emx.uucp>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!ucla-cs!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rphroy!caen!news.cs.indiana.edu!know!cs.utexas.edu!ut-emx!boernerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!ucla-cs!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rphroy!caen!news.cs.indiana.edu!know!cs.utexas.edu!ut-emx!boerner From: boerner@ut-emx.uucp (Brendan B. Boerner) Newsgroups: comp.sys.ibm.pc.misc Subject: shrinking enviroment size Message-ID: <45673@ut-emx.uucp> Date: 16 Mar 91 02:37:41 GMT Distribution: usa Organization: UT Austin Lines: 20