Forum Home
Press F1
 
Thread ID: 13927 2001-12-22 01:24:00 Not Enough Buffer Space for Variables Guest (0) Press F1
Post ID Timestamp Content User
28292 2001-12-22 01:24:00 Recently I have been programming a menu system into an old Dos 6.2 computer. I have been using the command 'set' (for creating variables) a lot and have run out of buffer space for which to store my variables in. Can anyone tell me how to increase the buffer size?? Guest (0)
28293 2001-12-22 02:26:00 You need to add to (or make) a CONFIG.SYS file.

The line you need to increase the environment space is 'SHELL=COMMAND.COM /P /E: xxx'. If COMMAND .COM is in a sub directory, include the path. The default environment size ('xxx') is 512 (used to be 256) bytes, maximum is 32768. Try 1024 for a start. The /P option means load it 'permanently'. You can use /ML, /MH, or /MU to load it in the 640k space or in high memory or 'upper memory'. /MH is probably safe enough. You need a high memory driver loaded before this line.
Guest (0)
1