I'm working on an article about the environment, and found something which was new to me, namely that DOS (at least MS-DOS and FreeDOS, haven't checked with DR-DOS yet) actually doesn't give the primary shell an environment of 0000h when CONFIG.SYS uses a MENU. This mini environment is used to pass the menu selections to the primary shell.
Without testing it, (E)DR-DOS should give it 0h as environment segment, see https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/drbio/biosinit.asm#L519-L524 https://github.com/SvarDOS/edrdos/blob/8a173d3df14576cdfc4fcf501861b55f162c850e/drbio/biosinit.asm#L2202 A quick search revealed no means of passing a menu selection. Greetings, Bernd _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel