Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!b.gp.cs.cmu.edu!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.sys.ibm.pc Subject: Re: This is how to use commands (including PATH) > 127 characters Message-ID: <24d1459d@ralf> Date: 29 Jul 89 05:50:21 GMT Sender: ralf@b.gp.cs.cmu.edu Organization: Carnegie Mellon University School of Computer Science Lines: 19 In-Reply-To: <2560@lll-lcc.UUCP> 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