Sorry, I have to correct myself: According to
https://github.com/FDOS/freecom/blob/master/shell/init.c#L440 the REAL maximum possible environment size right now is "only" 32766. Not 32767 and not 32768, but FreeCOM texts (in all languages) claim it is 32768. If you specify values below 17 or above 32766, some default size of the environment will be used instead. Regards, Eric > Hi Paul, > >> I believe that command.com can get involved in >> the CMDLINE environment variable, just like any >> other program can. And if it can't, it should say >> so, rather than reporting a failed attempt to set it. >> >> C:\DEVEL\PDOS\SRC>ver >> >> FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00] > > This seems to be the oldest version with CMDLINE at all: > > https://github.com/FDOS/freecom/blob/master/CHANGED > > Actually there seems to be a documentation error: > The REAL maximum value of 16-bit signed integers > is 32767 and not 32768 bytes. Try /E:16384 of, if > you are less humble, /E:32767 :-) > > https://github.com/FDOS/freecom/blob/master/shell/init.c#L102 > > Regards, Eric > > PS: I suggest to include a NEWER version in our distro! _______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
