Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!hellgate.utah.edu!csn!alumni.colorado.edu!fozzard From: fozzard@alumni.colorado.edu (Richard Fozzard) Newsgroups: comp.windows.ms Subject: Re: Increasing Environment Space Message-ID: <1991Jan14.215944.1560@csn.org> Date: 14 Jan 91 21:59:44 GMT References: <1991Jan09.003707.28602@usenet@scion.CS.ORST.EDU> Sender: news@csn.org Organization: University of Colorado, Boulder Lines: 29 Nntp-Posting-Host: alumni.colorado.edu In article hughes@maelstrom.Berkeley.EDU (Eric Hughes) writes: >How to increase environment space in DOS? > >1. Use the /E switch in the SHELL= statement in config.sys. >2. Run COMMAND.COM from a .PIF file, and specify a /E switch as part > of the command line. (I have not tested this, can someone verify?) >3. Use 4DOS, a replacement for COMMAND.COM. 4DOS has a /E switch. If the problem is enough environment space in any of the DOS shells win3 gives you (eg: running an ordinary batch file within a window, the factory-supplied "DOS shell"), the SHELL= statement doesnt help. win3 runs COMMAND.COM. Though you could mess with .PIF files, they are UGLY. For the factory "DOS shell", select it, choose Properties from the File menu and add a "/e:1000" after the "COMMAND.COM". Try different numbers to determine the environment size you need. For a .BAT file that you may have "copied" from the File mgr to the Pgm mgr, you can edit its Properties as well. Just add "command.com /e:1000 /c " in front of the pathname win3 put there automatically. Though win3 is a big improvement over DOS, sadly it doesn't really insulate you from DOS's frustrating limitations and cryptic commands. (My pet peeve: Why, of why couldn't they have done something to give us REAL filenames, like in Unix or the Mac?) -- ======================================================================== Richard Fozzard "Serendipity empowers" Univ of Colorado/CIRES/NOAA R/E/FS 325 Broadway, Boulder, CO 80303 fozzard@boulder.colorado.edu (303)497-6011 or 444-3168