VOGONS


First post, by blinkingblythe

User metadata
Rank Newbie
Rank
Newbie

Is there anyway to adjust the environment size with Dosbox's "command.com", or use a command com from a different OS (like dr-dos) to get around this? I have a batch menu system that relies on environment variables for menus and configuration.

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I thought that I coded detecting overflowing the environment variable correctly, you'd have to check if it happens in regular dosbox as well, as we don't provide support for android ports.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by Joey_sw

User metadata
Rank Oldbie
Rank
Oldbie

real command.com /E:nnnnn

/E:nnnnn Specifies the environment size, where nnnnn is the size in bytes. The value of nnnnn must be in the range 160 t […]
Show full quote

/E:nnnnn
Specifies the environment size, where nnnnn is the size in bytes.
The value of nnnnn must be in the range 160 through 32768.
MS-DOS rounds this number up to a multiple of 16 bytes. The default value is 256.

You might want to boot using real ms-dos image, but if you need more than 32KBytes for environtments, you better looks for other shell.

-fffuuu