Hi Andrew, always fun to do a bit of detective work! There are some bits of the old bugzilla still on archive.org: https://web.archive.org/web/20100822175352/http://www.freedos.org/bugzilla/cgi-bin/report.cgi this gives the clue: 1926 ("RESOLVED") - "what.exe cannot set master environment of FreeCOM (int 23 vector ""wrong"")" but I can't see more details.
However, what.exe is here: https://www.kadifeli.com/fedon/util.htm#what and you can even download its source code, the GetEnv PROC accesses the word at PSP:10 as if it's the load segment of command.com, when it's really the old int23 handler segment ("0Eh: Break address of previous program (old INT 23h)") hope that helps, Bart <snip> _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
