home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!utcsri!torn!news.ccs.queensu.ca!slip202.telnet1.QueensU.CA!dmurdoch
- From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
- Subject: Re: Environment size hack in DOS 5?
- Message-ID: <dmurdoch.1.721630905@mast.queensu.ca>
- Summary: Don't tell me about SHELL= in CONFIG.SYS!
- Lines: 21
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Queen's University
- References: <1992Nov12.234502.22273@midway.uchicago.edu>
- Date: Fri, 13 Nov 1992 05:01:45 GMT
-
- In article <1992Nov12.234502.22273@midway.uchicago.edu> pynq@quads.uchicago.edu (George Jetson) writes:
- >BTW, patching COMMAND.COM *is* the only correct solution. CONFIG.SYS
- >only affects the first loaded copy of COMMAND.COM. Further, there are
- >various kludge solutions floating around, e.g., ENV.ARC (from 1988 [!]) in
- >MSDOS.SYSUTL on Simtel, et al, but I am not interested in kludge solutions.
-
- A simpler way is just to create a variable called FILLER that takes up lots
- of space in your first loaded copy of COMMAND.COM; when you need space in a
- child shell, get rid of FILLER.
-
- e.g. Use the option to COMMAND in the SHELL= line of config.sys to get a
- great big environment block, then in autoexec.bat
-
- SET FILLER=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-
- and in a child shell
-
- SET FILLER=
-
- Duncan Murdoch
- dmurdoch@mast.queensu.ca
-