[RC5] Re:

Sanford Olson sanford at msn.fullfeed.com
Tue Jan 27 23:14:22 EST 1998

At 02:22 PM 1/27/98 -0600, you wrote:
>'Toomas Aas' said previously:
>| > DOS has a limit of  128 characters for any command sequences.  
>| More specifically, it's command.com that has this limit. Using 
>| another shell (like 4dos) allows one to create longer command lines
>| (like I do).
>I thought the byte at offset 080h from the start of the PSP contained
>the length of the command line, and the "command tail" appeared between
>081h and 0FFh--thus effectively limiting the commandline length to 127
>characters.  Or, is this limitation relaxed for .EXE files (which don't
>start at 0100h relative to the start of the PSP, like .COM files do)?

.EXE files also have a PSP, but it is not part of the program's CODE
segment (ok, .EXE's have multiple CODE segments and the PSP is in it's
own).  Note, the command-tail doesn't include the program path and 

   C:\RC5\RC5DESD.EXE param1 param2 -option1 -option2
                      + command-tail starts here

- Sanford

To unsubcribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest

More information about the rc5 mailing list