[comp.sys.ibm.pc] This is how to use commands

coleman@lll-lcc.UUCP (Sam Coleman) (07/29/89)

If you replace your COMMAND.COM with a shareware product called 4DOS,
you can use DOS commands, including environment variables like PATH,
up to 255 characters long.  It has a lot of other nice goodies as
well, making it well worth the shareware cost of $50.

Grab a trial copy off of a BBS or write to:

J. P. Software
P. O. Box 1470
E. Arlington, MA  02174

(617) 646-3975

Sam Coleman
coleman@lll-lcc.llnl.gov

No connection to company mentioned. Just a happy user.

Ralf.Brown@B.GP.CS.CMU.EDU (07/29/89)

In article <2560@lll-lcc.UUCP>, coleman@lll-lcc.UUCP (Sam Coleman) wrote:
}If you replace your COMMAND.COM with a shareware product called 4DOS,
}you can use DOS commands, including environment variables like PATH,
}up to 255 characters long.  It has a lot of other nice goodies as

Yes, you can have a line of 255 characters, but you still can't pass a command
tail of more than 126 characters to any program.  That is a hard limit imposed
by the static allocation for the command tail (1 byte for the length, 127
bytes for the actual tail followed by a CR) in the PSP.  Thus, 4DOS truncates
the command tail when invoking an external program.

SET and PATH are internal commands, so 4DOS can indeed set paths longer than
126 characters.
--
UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=-=-=-=- Voice: (412) 268-3053 (school)
ARPA: ralf@cs.cmu.edu  BIT: ralf%cs.cmu.edu@CMUCCVMA  FIDO: Ralf Brown 1:129/46
FAX: available on request                      Disclaimer? I claimed something?
"I don't want to sound like I'm avoiding answering your question; I just want
to avoid answering your question."  -- Alan Demers