kthompso@uceng.UC.EDU (ken thompson) (09/12/89)
Does anyone know the syntax for expanding the DOS environment string? I saw an artical on this, in PC Mag, I think. However now that I need the info I can't find it. I know that it's different for various versions of DOS. I'm using 3.3. Thanks in advance, -- Ken Thompson University of Cincinnati Dept. of Chemical Eng. kthompso@uceng.uc.edu
glen@sunscreen.UUCP (Glen Ivey) (09/19/89)
Lengthening the environment space takes a very arcane command. (At least the way I do it.) You are required to put a "SHELL" command in your CONFIG.SYS file. This command is available primarily to allow the replacement of COMMAND.COM as the command line interpreter, however, it also allows command line parameters to be passed to COMMAND.COM, which is what you need. The line from my CONFIG.SYS is: shell=c:\command.com /E:5000 /P Which, if I recall correctly specifies an environment size of 5K, with the "/P" option required to cause the processing of the AUTOEXEC.BAT file. Hope this helps, glen =============================================================================== Glen Ivey {ames,uunet,amdahl}!oliveb!cirrusl!glen Cirrus Logic glen%cirrusl%oliveb@ames.arc.nasa.gov --Not only are my opinions not necessarily my companies, they aren't always mine either. ===============================================================================