Hi,

On Sun, Jun 14, 2026 at 10:05 PM Michael Brutman via Freedos-user
<[email protected]> wrote:
>
> 4DOS might have a larger command line limit, but only 127 bytes of options 
> and flags for the command get passed to the program - it's a limitation of 
> the Program Segment Prefix that nothing can break.  (The PSP allows for up to 
> 127 bytes of flags and arguments to a program.)

Win95's shell allowed for longer by stuffing it into a %CMDLINE%
variable. FreeDOS and 4DOS both support this. In fact, I think all
DJGPP programs support this, so one could just use DJGPP's DJECHO.EXE
(instead of downloading a whole other shell to get used to).

But 4DOS is indeed very very nice and useful. I just shunned it for
years in the interest of extreme compatibility in .BAT scripts. You
could even use DJGPP's build of Bash, but I wouldn't recommend it.


_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to